TextValueEditor class

Represents the simpliest value editor.

public class EasyData.TextValueEditor
    : ValueEditor

Package: EasyData.Core (targets: netstandard2.0)

Assembly: EasyData.Core.dll

Constructors

Name Type Description
TextValueEditor(string id, DataType type = 1) void Initializes a new instance of the EasyData.TextValueEditor class.

Properties

Name Type Description
DefaultText string Gets or sets the default text.
DefaultValue string Gets or sets the default value.
IdBase string Gets the base part of identifier.
Multiline bool Gets or sets a value indicating whether text editor should be multiline.
ResultType DataType Gets or sets the data type of edited values
Tag string Gets the tag of the value editor.
XmlDefinition string Gets the XML definition of value editor.

Methods

Name Type Description
ReadOnePropFromJsonAsync(JsonReader reader, string propName) Task Reads one editor's property from JSON (asynchronous way).
WritePropertiesToJsonAsync(JsonWriter writer, BitOptions rwOptions) Task Writes the content of the text value editor to JSON (asynchronous way).

Static Properties

Name Type Description
STypeCaption string Gets the full name of the value editor class type.