ValueConverterDefinition
Description
A ValueConverterDefinition
is an interface that exposes properties to allow the definition of a converter for the editor's input value. In order to apply convert
or convertBack
functions to the editor input value. The valueConverterDefiniton
works with editorsConverters
which are defined in the columnDefinition
.
Properties
Property |
Type |
Description |
---|---|---|
convert |
|
Represents a function that converts the property of the data item and returns the value to be displayed in the editor. |
convertBack |
|
Represents a function that converts the value displayed in the editor and returns the value to save in the source for a data item. |
Remarks
A ValueConverterDefinition
can be provided through the ValueConverterDefinitionCollection
.