CancelReferenceCommand
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>