Class RichTextField
Version: 21.x
Represents a textfield that supports HTML.
Inherited Members
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. |