Class BlockGridItem<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 BlockGridItem<TContent, TSettings> : BlockGridItem<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 SourceBlockGridItem(Udi, TContent, Udi, TSettings)
Initializes a new instance of the BlockGridItem<TContent, TSettings> class.
Declaration
public BlockGridItem(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. |