Class BlockGridArea
Namespace: Umbraco.Cms.Core.Models.Blocks
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "area", Namespace = "")]
public class BlockGridArea : BlockModelCollection<BlockGridItem>, IList<BlockGridItem>, ICollection<BlockGridItem>, IReadOnlyList<BlockGridItem>, IReadOnlyCollection<BlockGridItem>, IEnumerable<BlockGridItem>, IList, ICollection, IEnumerable
Constructors
View SourceBlockGridArea(IList<BlockGridItem>, String, Int32, Int32)
Initializes a new instance of the Block
Declaration
public BlockGridArea(IList<BlockGridItem> list, string alias, int rowSpan, int columnSpan)
Parameters
Type | Name | Description |
---|---|---|
IList<Block |
list | The list to wrap. |
System. |
alias | The area alias |
System. |
rowSpan | The number of rows this area should span |
System. |
columnSpan | The number of columns this area should span |
Properties
View SourceAlias
The area alias
Declaration
[DataMember(Name = "alias")]
public string Alias { get; }
Property Value
Type | Description |
---|---|
System. |
ColumnSpan
The number of columns this area should span.
Declaration
[DataMember(Name = "columnSpan")]
public int ColumnSpan { get; }
Property Value
Type | Description |
---|---|
System. |
RowSpan
The number of rows this area should span.
Declaration
[DataMember(Name = "rowSpan")]
public int RowSpan { get; }
Property Value
Type | Description |
---|---|
System. |