Search Results for

    Show / Hide Table of Contents
    View Source

    Class BlockGridItem<T>

    Represents a layout item with a generic content type for the Block List editor.

    Inheritance
    System.Object
    BlockGridItem
    Namespace: Umbraco.Cms.Core.Models.Blocks
    Assembly: Umbraco.Core.dll
    Syntax
    public class BlockGridItem<T> : BlockGridItem, IBlockReference<IPublishedElement, IPublishedElement>, IBlockReference<IPublishedElement>, IBlockReference where T : IPublishedElement
    Type Parameters
    Name Description
    T

    The type of the content.

    Constructors

    View Source

    BlockGridItem(Udi, T, Udi, IPublishedElement)

    Initializes a new instance of the BlockGridItem<T> class.

    Declaration
    public BlockGridItem(Udi contentUdi, T content, Udi settingsUdi, IPublishedElement settings)
    Parameters
    Type Name Description
    Udi contentUdi

    The content UDI.

    T content

    The content.

    Udi settingsUdi

    The settings UDI.

    IPublishedElement settings

    The settings.

    Properties

    View Source

    Content

    Gets the content.

    Declaration
    public T Content { get; }
    Property Value
    Type Description
    T

    The content.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • BlockGridItem(Udi, T, Udi, IPublishedElement)
    • Properties
      • Content
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX