Changes

KeyValueList

816 bytes added, 12:34, 29 July 2020
/* Example */
</source>
'''To use a Binding in the KeyValueParameter, the following logic has to be used, instead of applying the binding directly on the Value property'''
<source lang = "xml">
<Button Content="{Binding Header}" Command="{Binding CreateChildItemCommand}" x:Name="CreateButton" Tag="{Binding}">
<Button.CommandParameter>
<uc:KeyValueList>
<uc:KeyValueParameter Key="Parent" Value="{Binding Tag, ElementName=CreateButton}"/>
<uc:KeyValueParameter Key="Type" Value="21fc990a-d064-4bee-8d48-3293351f827a"/>
</uc:KeyValueList>
</Button.CommandParameter>
</Button>
</source>
 
[[Category:Pages with broken file links|KeyValueList]]
== Parameters ==
53
edits