Class RichTextField
Represents a textfield that supports HTML.
Inherited Members
Namespace: Sitecore.LayoutService.Client.Response.Model.Fields
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
public class RichTextField : EditableField<string>, IFieldReader, IValueField<string>, IEditableField, IField
Constructors
RichTextField()
Initializes a new instance of the RichTextField class.
Declaration
public RichTextField()
RichTextField(String, Boolean)
Initializes a new instance of the RichTextField class.
Declaration
public RichTextField(string value, bool encoded = true)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The initial value. |
System.Boolean | encoded | True if the value is encoded, otherwise false. Defaults to true. |