Difference between revisions of "CancelReferenceCommand"
(Created page with "{{CommandInfoBox | title = Cancel Reference by Scan | name = {{PAGENAMEE}} | purpose = Cancel referencing on targets. | version = 2.6.1+ | viewmodel = ContentViewModel }} Th...") |
(No difference)
|
Latest revision as of 16:28, 20 March 2017
Cancel Reference by Scan | |
---|---|
Name | CancelReferenceCommand |
Purpose | Cancel referencing on targets. |
Version | 2.6.1+ |
ViewModel | ContentViewModel |
The CancelReference Command ist used to cancel an 'active' reference setting. The command is used to cancel the stored reference from the last ActivateReferenceByScanCommand.
Example:
<Button Height="38" Content="Cancel" IsEnabled="{Binding CanExecuteContinueReferenceByScanCommand}">
<Interactivity:Interaction.Behaviors>
<Core:EventTriggerBehavior EventName="Tapped">
<Core:InvokeCommandAction Command="{Binding CancelReferenceCommand}"/>
</Core:EventTriggerBehavior>
</Interactivity:Interaction.Behaviors>
</Button>
<Interactivity:Interaction.Behaviors>
<Core:EventTriggerBehavior EventName="Tapped">
<Core:InvokeCommandAction Command="{Binding CancelReferenceCommand}"/>
</Core:EventTriggerBehavior>
</Interactivity:Interaction.Behaviors>
</Button>