Skip to content

DateTimeValueEditor class

Represents the value editor for date and/or time.

public class Korzh.EasyQuery.DateTimeValueEditor
: ValueEditor, IDefaultValuesStorage
TypeNameDescription
StringDefaultTextGets or sets the default text.
StringDefaultValueGets or sets the default value.
ConstValueListDefaultValuesGets the list of default values
DataTypeSubTypeGets or sets the type of data (Date, Time or DateTime).
StringTagGets the name of the value editor type.
StringXmlDefinitionGets the XML definition of value editor.
TypeNameDescription
BooleanLoadAttribute(String attrName, String attrValue)Loads one attribute from XML reader.
voidReadOnePropFromJson(JsonReader reader, String propName)Reads one editor’s property from JSON.
TaskReadOnePropFromJsonAsync(JsonReader reader, String propName)Reads one editor’s property from JSON (asynchronous way).
voidSaveAttributesToXmlWriter(XmlWriter writer)Saves all attributes of value editor’s node to XML writer.
voidWritePropertiesToJson(JsonWriter writer, ModelReadWriteOptions rwOptions)Writes the content of the date/time value editor to JSON.
TaskWritePropertiesToJsonAsync(JsonWriter writer, ModelReadWriteOptions rwOptions)Writes the content of the date/time value editor to JSON (asynchronous way).
TypeNameDescription
StringSTypeCaptionGets the full name of the value editor class type.