Skip to content

ConstListValueEditor class

Represents the constant list value editor.

public class EasyData.ConstListValueEditor
: ListValueEditor

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

Assembly: EasyData.Core.dll

NameTypeDescription
ConstListValueEditor(string id)voidInitializes a new instance of the EasyData.ConstListValueEditor class.
NameTypeDescription
DefaultTextstringGets or sets the default text.
DefaultValuestringGets or sets the default value.
TagstringGets the name of the value editor type.
ValuesConstValueListGets the list of available values.
XmlDefinitionstringGets the XML definition of value editor.
NameTypeDescription
CreateValueList()ConstValueListCreates the value list.
ReadOnePropFromJsonAsync(JsonReader reader, string propName)TaskReads one editor’s property from JSON.
WritePropertiesToJsonAsync(JsonWriter writer, BitOptions rwOptions)TaskWrites the content of the “CONST LIST” value editor to JSON (asynchronous way).
NameTypeDescription
STypeCaptionstringGets the full name of the value editor class type.