Class RichTextField
Version: 21.x
Represents a textfield that supports HTML.
Inheritance
System.Object
Field<System.String>
EditableField<System.String>
RichTextField
Implements
IValueField<System.String>
Inherited Members
FieldReader.TryRead(Type, IField)
Namespace: Sitecore.LayoutService.Client.Response.Model.Fields
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
Constructors
RichTextField()
Initializes a new instance of the RichTextField class.
Declaration
RichTextField(String, Boolean)
Initializes a new instance of the RichTextField class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value | The initial value. |
| System.Boolean | encoded | True if the value is encoded, otherwise false. Defaults to true. |
Implements
If you have suggestions for improving this article, let us know!