SetActiveReferenceCommand
Revision as of 13:33, 20 March 2017 by BMA (Talk | contribs) (Created page with "{{CommandInfoBox | title = Set Active Reference | name = {{PAGENAMEE}} | purpose = Set an active reference on {{UBIK}} objects with a previously set reference id set in the ...")
Set Active Reference | |
---|---|
Name | SetActiveReferenceCommand |
Purpose | Set an active reference on UBIK® objects with a previously set reference id set in the ActivateReferenceByScanCommand or ActivateReferenceCommand. |
Version | 2.6.1+ |
ViewModel | ContentViewModel |
The SetActiveReference Command ist used to continue setting references on target content. The command can be used when the source content object is still stored in the 'command memory'. Once the command is triggered, the user can immediately set the active reference on the current UBIK® object. This object wil now reference to the source object, which the original ActivateReferenceByScan command was 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>
See also
ActivateReferenceByScanCommand ContinueReferenceByScanCommand