Class RichTextBlockModel
The strongly typed model for blocks in the Rich Text editor.
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 SourceRichTextBlockModel(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 SourceEmpty
Gets the empty RichTextBlockModel.
Declaration
public static RichTextBlockModel Empty { get; }
Property Value
Type | Description |
---|---|
RichTextBlockModel | The empty RichTextBlockModel. |