1. TextField

Class TextField

Version: 21.x

Represents a text field.

Inheritance
System.Object
Field<System.String>
EditableField<System.String>
TextField
Implements
IValueField<System.String>
Namespace: Sitecore.LayoutService.Client.Response.Model.Fields
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
public class TextField : EditableField<string>, IFieldReader, IValueField<string>, IEditableField, IField

Constructors

TextField()

Initializes a new instance of the TextField class.

Declaration
public TextField()

TextField(String)

Initializes a new instance of the TextField class.

Declaration
public TextField(string value)
Parameters
TypeNameDescription
System.Stringvalue

The initial value.

Implements

If you have suggestions for improving this article, let us know!