Search Results for

    Show / Hide Table of Contents
    View Source

    Class RichTextBlockModel

    The strongly typed model for blocks in the Rich Text editor.

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

    Constructors

    View Source

    RichTextBlockModel(IList<RichTextBlockItem>)

    Initializes a new instance of the RichTextBlockModel class.

    Declaration
    public RichTextBlockModel(IList<RichTextBlockItem> list)
    Parameters
    Type Name Description
    IList<RichTextBlockItem> list

    The list to wrap.

    Properties

    View Source

    Empty

    Gets the empty RichTextBlockModel.

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

    The empty RichTextBlockModel.

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