Search Results for

    Show / Hide Table of Contents
    View Source

    Class ApiBlockGridItem

    Represents a block grid item in the Delivery API.

    Inheritance
    object
    ApiBlockItem
    Namespace: Umbraco.Cms.Core.Models.DeliveryApi
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class ApiBlockGridItem : ApiBlockItem

    Constructors

    View Source

    ApiBlockGridItem(IApiElement, IApiElement?, int, int, int, IEnumerable<ApiBlockGridArea>)

    Initializes a new instance of the ApiBlockGridItem class.

    Declaration
    public ApiBlockGridItem(IApiElement content, IApiElement? settings, int rowSpan, int columnSpan, int areaGridColumns, IEnumerable<ApiBlockGridArea> areas)
    Parameters
    Type Name Description
    IApiElement content

    The content element of the block.

    IApiElement settings

    The optional settings element of the block.

    int rowSpan

    The number of rows the block spans.

    int columnSpan

    The number of columns the block spans.

    int areaGridColumns

    The number of columns in the block's area grid.

    IEnumerable<ApiBlockGridArea> areas

    The areas within the block.

    Properties

    View Source

    AreaGridColumns

    Gets the number of columns in the block's area grid.

    Declaration
    public int AreaGridColumns { get; }
    Property Value
    Type Description
    int
    View Source

    Areas

    Gets the areas within the block.

    Declaration
    public IEnumerable<ApiBlockGridArea> Areas { get; }
    Property Value
    Type Description
    IEnumerable<ApiBlockGridArea>
    View Source

    ColumnSpan

    Gets the number of columns the block spans.

    Declaration
    public int ColumnSpan { get; }
    Property Value
    Type Description
    int
    View Source

    RowSpan

    Gets the number of rows the block spans.

    Declaration
    public int RowSpan { get; }
    Property Value
    Type Description
    int
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX