Search Results for

    Show / Hide Table of Contents
    View Source

    Class ApiBlockGridModel

    Represents a block grid model in the Delivery API.

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

    Constructors

    View Source

    ApiBlockGridModel(int, IEnumerable<ApiBlockGridItem>)

    Initializes a new instance of the ApiBlockGridModel class.

    Declaration
    public ApiBlockGridModel(int gridColumns, IEnumerable<ApiBlockGridItem> items)
    Parameters
    Type Name Description
    int gridColumns

    The number of columns in the grid.

    IEnumerable<ApiBlockGridItem> items

    The block grid items in the model.

    Properties

    View Source

    GridColumns

    Gets the number of columns in the grid.

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

    Items

    Gets the block grid items in the model.

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