Search Results for

    Show / Hide Table of Contents
    View Source

    Class BlockGridArea

    Represents an area within a block grid that can contain block items.

    Inheritance
    object
    ReadOnlyCollection<BlockGridItem>
    BlockModelCollection<BlockGridItem>
    Namespace: Umbraco.Cms.Core.Models.Blocks
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract(Name = "area", Namespace = "")]
    public class BlockGridArea : BlockModelCollection<BlockGridItem>

    Constructors

    View Source

    BlockGridArea(IList<BlockGridItem>, string, int, int)

    Initializes a new instance of the BlockGridArea class.

    Declaration
    public BlockGridArea(IList<BlockGridItem> list, string alias, int rowSpan, int columnSpan)
    Parameters
    Type Name Description
    IList<BlockGridItem> list

    The list to wrap.

    string alias

    The area alias.

    int rowSpan

    The number of rows this area should span.

    int columnSpan

    The number of columns this area should span.

    Properties

    View Source

    Alias

    Gets the area alias.

    Declaration
    [DataMember(Name = "alias")]
    public string Alias { get; }
    Property Value
    Type Description
    string

    The area alias.

    View Source

    ColumnSpan

    Gets the number of columns this area should span.

    Declaration
    [DataMember(Name = "columnSpan")]
    public int ColumnSpan { get; }
    Property Value
    Type Description
    int

    The column span.

    View Source

    RowSpan

    Gets the number of rows this area should span.

    Declaration
    [DataMember(Name = "rowSpan")]
    public int RowSpan { get; }
    Property Value
    Type Description
    int

    The row span.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX