Skip to content

TextValueEditor class

Represents the simpliest value editor.

public class EasyData.TextValueEditor
: ValueEditor

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

Assembly: EasyData.Core.dll

NameTypeDescription
TextValueEditor(string id, DataType type = 1)voidInitializes a new instance of the EasyData.TextValueEditor class.
NameTypeDescription
DefaultTextstringGets or sets the default text.
DefaultValuestringGets or sets the default value.
IdBasestringGets the base part of identifier.
MultilineboolGets or sets a value indicating whether text editor should be multiline.
ResultTypeDataTypeGets or sets the data type of edited values
TagstringGets the tag of the value editor.
XmlDefinitionstringGets the XML definition of value editor.
NameTypeDescription
ReadOnePropFromJsonAsync(JsonReader reader, string propName)TaskReads one editor’s property from JSON (asynchronous way).
WritePropertiesToJsonAsync(JsonWriter writer, BitOptions rwOptions)TaskWrites the content of the text value editor to JSON (asynchronous way).
NameTypeDescription
STypeCaptionstringGets the full name of the value editor class type.