Search Results for

    Show / Hide Table of Contents
    View Source

    Class BlockListModel

    The strongly typed model for the Block List editor.

    Inheritance
    System.Object
    System.Collections.ObjectModel.ReadOnlyCollection<BlockListItem>
    BlockModelCollection<BlockListItem>
    Namespace: Umbraco.Cms.Core.Models.Blocks
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract(Name = "blockList", Namespace = "")]
    public class BlockListModel : BlockModelCollection<BlockListItem>, IList<BlockListItem>, ICollection<BlockListItem>, IReadOnlyList<BlockListItem>, IReadOnlyCollection<BlockListItem>, IEnumerable<BlockListItem>, IList, ICollection, IEnumerable

    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.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • BlockListModel(IList<BlockListItem>)
    • Properties
      • Empty
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX