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

Constructors

Name Type Description
DateTimeValueEditor() void Initializes a new instance of the EasyData.DateTimeValueEditor class.
DateTimeValueEditor(string id, DataType subType) void Initializes a new instance of the EasyData.DateTimeValueEditor class.

Properties

Name Type Description
DefaultText string Gets or sets the default text.
DefaultValue string Gets or sets the default value.
DefaultValues ConstValueList Gets the list of default values
SubType DataType Gets or sets the type of data (Date, Time or DateTime).
Tag string Gets the name of the value editor type.
XmlDefinition string Gets the XML definition of value editor.

Methods

Name Type Description
ReadOnePropFromJsonAsync(JsonReader reader, string propName) Task Reads one editor's property from JSON (asynchronous way).
WritePropertiesToJsonAsync(JsonWriter writer, BitOptions rwOptions) Task Writes the content of the date/time value editor to JSON (asynchronous way).

Static Properties

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