DateTimeValueEditor class
Represents the value editor for date and/or time.
public class EasyData.DateTimeValueEditor : ValueEditor, IDefaultValuesStoragePackage: EasyData.Core (targets: netstandard2.0)
Assembly: EasyData.Core.dll
Constructors
Section titled “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
Section titled “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
Section titled “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
Section titled “Static Properties”| Name | Type | Description |
|---|---|---|
| STypeCaption | string | Gets the full name of the value editor class type. |