1,235 bytes added,
13:33, 20 March 2017 {{CommandInfoBox
| title = Set Active Reference
| name = {{PAGENAMEE}}
| 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:
<source lang = "xml">
<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>
</source>
== See also ==
[[ActivateReferenceByScanCommand]]
[[ContinueReferenceByScanCommand]]
{{Category/Version|2.6.1}}