Allows to define the way ViewModel for the editor is created. More...
Public Member Functions | |
PluginPropertyValueEditorContext | Create (object initialValue, Action< object > valueSetCallback) |
Creates ViewModel for the property editor. | |
Allows to define the way ViewModel for the editor is created.
PluginPropertyValueEditorContext Create | ( | object | initialValue, |
Action< object > | valueSetCallback ) |
Creates ViewModel for the property editor.
initialValue | Initial value of the property when the editor is created. |
valueSetCallback | Action to run when the editor changes the value of the property. This is how Kanzi Studio knows that the user changed the value of a property using the editor. |