Last modified on 18 May 2017, at 14:29

SortByPropertyCommand

Revision as of 14:29, 18 May 2017 by LGE (Talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
IC COMMAND.png Sort by Property
Name SortByPropertyCommand
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

Name Data type Comment
Property Name The name of the property by which the list should be sorted.

Example:

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