Jump to: navigation, search

Changes


SortByPropertyCommand

830 bytes added, 14:29, 18 May 2017
Created page with "{{CommandInfoBox | title = Sort by Property | name = {{PAGENAMEE}} | purpose = Sort the child object list by the specified property | version = 2.6.1+ | viewmodel = ChildrenLi..."
{{CommandInfoBox
| title = Sort by Property
| name = {{PAGENAMEE}}
| purpose = Sort the child object list by the specified property
| version = 2.6.1+
| viewmodel = ChildrenListViewModel
}}

The SortByProperty Command is used to sort the child object list

== Command Parameter ==
{| class="wikitable" width=50%
|-
! width=30% | Name !! width=30% | Data type !! Comment
|-
| ''Property Name'' || | The name of the property by which the list should be sorted.
|}

Example:
<source lang = "xml">
<Button FontFamily="Segoe MDL2 Assets"
Content="{Binding Children.Sorting[SomePropertyName], Converter={StaticResource SDToSymbolConverter}}"
Command="{Binding Children.SortByPropertyCommand}" CommandParameter="SomePropertyName" />
</source>

{{Category/Version|2.6.1}}

[[Category:WinX|SortByPropertyCommand]]