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, Guid?, TSettings?)
Initializes a new instance of the RichTextBlockItem<TContent, TSettings> class.
Declaration
public RichTextBlockItem(Guid contentKey, TContent content, Guid? settingsKey, TSettings? settings)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | contentKey | The content key. |
| TContent | content | The content. |
| Guid? | settingsKey | The settings key. |
| TSettings | settings | The settings. |
Properties
View SourceSettings
Gets the settings.
Declaration
public TSettings? Settings { get; }
Property Value
| Type | Description |
|---|---|
| TSettings | The settings. |