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(Guid, TContent, Nullable<Guid>, TSettings)
Declaration
public RichTextBlockItem(Guid contentKey, TContent content, Guid? settingsKey, TSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | contentKey | |
| TContent | content | |
| System.Nullable<Guid> | settingsKey | |
| TSettings | settings |
RichTextBlockItem(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. |