Class RichTextBlockItem<TContent, TSettings>
Represents a layout item with generic content and settings types for the Block List editor.
Namespace: Umbraco.Cms.Core.Models.Blocks
Assembly: Umbraco.Core.dll
Syntax
public class RichTextBlockItem<TContent, TSettings> : RichTextBlockItem<TContent>, IBlockReference<IPublishedElement, IPublishedElement>, IBlockReference<IPublishedElement>, IBlockReference where TContent : IPublishedElement where TSettings : IPublishedElement
Type Parameters
Name | Description |
---|---|
TContent | The type of the content. |
TSettings | The type of the settings. |
Constructors
View SourceRichTextBlockItem(Udi, TContent, Udi, TSettings)
Initializes a new instance of the RichTextBlockItem<TContent, TSettings> class.
Declaration
public RichTextBlockItem(Udi contentUdi, TContent content, Udi settingsUdi, TSettings settings)
Parameters
Type | Name | Description |
---|---|---|
Udi | contentUdi | The content udi. |
TContent | content | The content. |
Udi | settingsUdi | The settings udi. |
TSettings | settings | The settings. |
Properties
View SourceSettings
Gets the settings.
Declaration
public TSettings Settings { get; }
Property Value
Type | Description |
---|---|
TSettings | The settings. |