Search Results for

    Show / Hide Table of Contents
    View Source

    Class BlockListModel

    The strongly typed model for the Block List editor.

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

    Constructors

    View Source

    BlockListModel(IList<BlockListItem>)

    Initializes a new instance of the BlockListModel class.

    Declaration
    public BlockListModel(IList<BlockListItem> list)
    Parameters
    Type Name Description
    IList<BlockListItem> list

    The list to wrap.

    Properties

    View Source

    Empty

    Gets the empty BlockListModel.

    Declaration
    public static BlockListModel Empty { get; }
    Property Value
    Type Description
    BlockListModel

    The empty BlockListModel.

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