Skip to content

CustomValueEditor class

Represents custom (user defined) value editor.

public class EasyData.CustomValueEditor
: ValueEditor

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

Assembly: EasyData.Core.dll

NameTypeDescription
CustomValueEditor()voidInitializes a new instance of the EasyData.CustomValueEditor class.
CustomValueEditor(string tag)voidInitializes a new instance of the EasyData.CustomValueEditor class.
NameTypeDescription
DatastringGets or sets the data assigned with the editor.
DefaultTextstringGets or sets the default text.
DefaultValuestringGets or sets the default value.
TagstringGets the name of the value editor type.
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 “CUSTOM” value editor to JSON (asynchronous way).
NameTypeDescription
STypeCaptionstringGets the full name of the value editor class type.