CustomValueEditor class

Represents custom (user defined) value editor.

public class Korzh.EasyQuery.CustomValueEditor
    : ValueEditor

Properties

Type Name Description
String Data Gets or sets the data assigned with the editor.
String DefaultText Gets or sets the default text.
String DefaultValue Gets or sets the default value.
String Tag Gets the name of the value editor type.
String XmlDefinition Gets the XML definition of value editor.

Methods

Type Name Description
Boolean LoadAttribute(String attrName, String attrValue) Loads one attribute from XML reader.
void LoadContentFromXmlReader(XmlReader reader) Loads the content of value editor from XML reader.
void ReadOnePropFromJson(JsonReader reader, String propName) Reads one editor's property from JSON.
Task ReadOnePropFromJsonAsync(JsonReader reader, String propName) Reads one editor's property from JSON (asynchronous way).
void SaveContentToXmlWriter(XmlWriter writer) Saves editor parameters to XML.
void WritePropertiesToJson(JsonWriter writer, ModelReadWriteOptions rwOptions) Writes the content of the "CUSTOM" value editor to JSON.
Task WritePropertiesToJsonAsync(JsonWriter writer, ModelReadWriteOptions rwOptions) Writes the content of the "CUSTOM" value editor to JSON (asynchronous way).

Static Properties

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