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