Last modified on 20 March 2017, at 16:28

CancelReferenceCommand

IC COMMAND.png 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>


See also

ActivateReferenceByScanCommand