Jump to: navigation, search

Changes


EditPropertyValueCommand

651 bytes added, 06:59, 10 December 2020
Created page with "== EditPropertyValueCommand == This command is used to open a dialog for editing a property. == Command Properties == * ID: String. The ID of the property to be edited. * Sca..."
== EditPropertyValueCommand ==
This command is used to open a dialog for editing a property.

== Command Properties ==
* ID: String. The ID of the property to be edited.
* ScanToInput: bool. If this is false (default) a textbox for editing is shown. If true, a scan dialog appears, that allows to scan a barcode.

Example:
<source lang = "xml">
<Button Command="{Binding EditPropertyValueCommand}" Text="ScanToEdit">
<Button.CommandParameter>
<uc:KeyValueList>
<uc:KeyValueParameter Key="ID" Value="TEXT_READWRITE" />
<uc:KeyValueParameter Key="ScanToInput" Value="true" />
</uc:KeyValueList>
</Button.CommandParameter>
</Button>
</source>
53
edits