ConstListValueEditor class
Represents the constant list value editor.
public class EasyData.ConstListValueEditor : ListValueEditor
Package: EasyData.Core
(targets: netstandard2.0
)
Assembly: EasyData.Core.dll
Constructors
Section titled “Constructors”Name | Type | Description |
---|---|---|
ConstListValueEditor(string id) | void | Initializes a new instance of the EasyData.ConstListValueEditor class. |
Properties
Section titled “Properties”Name | Type | Description |
---|---|---|
DefaultText | string | Gets or sets the default text. |
DefaultValue | string | Gets or sets the default value. |
Tag | string | Gets the name of the value editor type. |
Values | ConstValueList | Gets the list of available values. |
XmlDefinition | string | Gets the XML definition of value editor. |
Methods
Section titled “Methods”Name | Type | Description |
---|---|---|
CreateValueList() | ConstValueList | Creates the value list. |
ReadOnePropFromJsonAsync(JsonReader reader, string propName) | Task | Reads one editor’s property from JSON. |
WritePropertiesToJsonAsync(JsonWriter writer, BitOptions rwOptions) | Task | Writes the content of the “CONST LIST” 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. |