Search Results for

    Show / Hide Table of Contents
    View Source

    Class BlockGridArea

    Inheritance
    System.Object
    System.Collections.ObjectModel.ReadOnlyCollection<BlockGridItem>
    BlockModelCollection<BlockGridItem>
    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 Source

    BlockGridArea(IList<BlockGridItem>, String, Int32, Int32)

    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.

    System.String alias

    The area alias

    System.Int32 rowSpan

    The number of rows this area should span

    System.Int32 columnSpan

    The number of columns this area should span

    Properties

    View Source

    Alias

    The area alias

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

    ColumnSpan

    The number of columns this area should span.

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

    RowSpan

    The number of rows this area should span.

    Declaration
    [DataMember(Name = "rowSpan")]
    public int RowSpan { get; }
    Property Value
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • BlockGridArea(IList<BlockGridItem>, String, Int32, Int32)
    • Properties
      • Alias
      • ColumnSpan
      • RowSpan
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX