Jump to: navigation, search

Changes


SetActiveReferenceCommand

288 bytes added, 13:37, 20 March 2017
}}
The SetActiveReference Command ist used to continue setting manually set references on target content. The command can is to 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. Main purpose ist to provide an alternative way to set a reference if marker scanning failed or the referencing in general should be done manually by pressing a button on the source object and set the reference by pressing another button on the target object.
Example:
<source lang = "xml">
<Button Height="38" Content="ContinueAssign" IsEnabled="{Binding CanExecuteContinueReferenceByScanCommandCanExecuteSetActiveReferenceCommand}">
<Interactivity:Interaction.Behaviors>
<Core:EventTriggerBehavior EventName="Tapped">
<Core:InvokeCommandAction Command="{Binding ContinueReferenceByScanCommandSetActiveReferenceCommand}"/>
</Core:EventTriggerBehavior>
</Interactivity:Interaction.Behaviors>
</Button>
</source>
{{Category/Version|2.6.1}}
 
[[Category:2.6.1|SetActiveReferenceCommand]]
681
edits