Difference between revisions of "ContinueReferenceByScanCommand"
Line 7: | Line 7: | ||
}} | }} | ||
− | The | + | The ContinueReferenceByScan Command ist used to continue setting references on target content. The command can be used when the source content object is still in the 'command memory' from a previous [[ActivateReferenceByScanCommand]]. Once the command is triggered, the user can immediately scan for another object. This object wil now reference to the source object, on which the ActivateReferenceByScan command was originally called from. |
Example: | Example: |
Latest revision as of 13:41, 20 March 2017
Continue Reference by Scan | |
---|---|
Name | ContinueReferenceByScanCommand |
Purpose | Continue referencing on scanned targets with a previously set reference id that was set in the ActivateReferenceByScanCommand. |
Version | 2.6.1+ |
ViewModel | ContentViewModel |
The ContinueReferenceByScan Command ist used to continue setting references on target content. The command can be used when the source content object is still in the 'command memory' from a previous ActivateReferenceByScanCommand. Once the command is triggered, the user can immediately scan for another object. This object wil now reference to the source object, on which the ActivateReferenceByScan command was originally called from.
Example:
<Button Height="38" Content="Continue" IsEnabled="{Binding CanExecuteContinueReferenceByScanCommand}">
<Interactivity:Interaction.Behaviors>
<Core:EventTriggerBehavior EventName="Tapped">
<Core:InvokeCommandAction Command="{Binding ContinueReferenceByScanCommand}"/>
</Core:EventTriggerBehavior>
</Interactivity:Interaction.Behaviors>
</Button>
<Interactivity:Interaction.Behaviors>
<Core:EventTriggerBehavior EventName="Tapped">
<Core:InvokeCommandAction Command="{Binding ContinueReferenceByScanCommand}"/>
</Core:EventTriggerBehavior>
</Interactivity:Interaction.Behaviors>
</Button>