Skip to content

DateTimeValueEditor class

Represents the value editor for date and/or time.

public class EasyData.DateTimeValueEditor
: ValueEditor, IDefaultValuesStorage

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

Assembly: EasyData.Core.dll

NameTypeDescription
DateTimeValueEditor()voidInitializes a new instance of the EasyData.DateTimeValueEditor class.
DateTimeValueEditor(string id, DataType subType)voidInitializes a new instance of the EasyData.DateTimeValueEditor class.
NameTypeDescription
DefaultTextstringGets or sets the default text.
DefaultValuestringGets or sets the default value.
DefaultValuesConstValueListGets the list of default values
SubTypeDataTypeGets or sets the type of data (Date, Time or DateTime).
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 date/time value editor to JSON (asynchronous way).
NameTypeDescription
STypeCaptionstringGets the full name of the value editor class type.