Class BlockListLayoutItem
Used for deserializing the block list layout.
Namespace: Umbraco.Cms.Core.Models.Blocks
Assembly: Umbraco.Core.dll
Syntax
public class BlockListLayoutItem : BlockLayoutItemBase, IBlockLayoutItem
Constructors
View SourceBlockListLayoutItem()
Initializes a new instance of the BlockListLayoutItem class.
Declaration
public BlockListLayoutItem()
BlockListLayoutItem(Guid)
Initializes a new instance of the BlockListLayoutItem class.
Declaration
public BlockListLayoutItem(Guid contentKey)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | contentKey | The content key. |
BlockListLayoutItem(Guid, Guid)
Initializes a new instance of the BlockListLayoutItem class.
Declaration
public BlockListLayoutItem(Guid contentKey, Guid settingsKey)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | contentKey | The content key. |
| Guid | settingsKey | The settings key. |
BlockListLayoutItem(Udi)
Initializes a new instance of the BlockListLayoutItem class.
Declaration
[Obsolete("Use constructor that accepts GUIDs instead. Scheduled for removal in Umbraco 18.")]
public BlockListLayoutItem(Udi contentUdi)
Parameters
| Type | Name | Description |
|---|---|---|
| Udi | contentUdi | The content UDI. |
BlockListLayoutItem(Udi, Udi)
Initializes a new instance of the BlockListLayoutItem class.
Declaration
[Obsolete("Use constructor that accepts GUIDs instead. Scheduled for removal in Umbraco 18.")]
public BlockListLayoutItem(Udi contentUdi, Udi settingsUdi)
Parameters
| Type | Name | Description |
|---|---|---|
| Udi | contentUdi | The content UDI. |
| Udi | settingsUdi | The settings UDI. |