Class BlockGridLayoutAreaItem
Represents an area item within a block grid layout.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models.Blocks
Assembly: Umbraco.Core.dll
Syntax
public class BlockGridLayoutAreaItem
Constructors
View SourceBlockGridLayoutAreaItem()
Initializes a new instance of the BlockGridLayoutAreaItem class.
Declaration
public BlockGridLayoutAreaItem()
BlockGridLayoutAreaItem(Guid)
Initializes a new instance of the BlockGridLayoutAreaItem class.
Declaration
public BlockGridLayoutAreaItem(Guid key)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | key | The key. |
Properties
View SourceItems
Gets or sets the items within this area.
Declaration
public BlockGridLayoutItem[] Items { get; set; }
Property Value
| Type | Description |
|---|---|
| BlockGridLayoutItem[] | The items. |
Key
Gets or sets the key.
Declaration
public Guid Key { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid | The key. |
Methods
View SourceContainsContent(Guid)
Determines whether this area contains content with the specified key.
Declaration
public bool ContainsContent(Guid key)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | key | The content key to check. |
Returns
| Type | Description |
|---|---|
| bool |
|
ContainsSetting(Guid)
Determines whether this area contains settings with the specified key.
Declaration
public bool ContainsSetting(Guid key)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | key | The settings key to check. |
Returns
| Type | Description |
|---|---|
| bool |
|