Hierarchically sorts the child items within a specified root tree grid item in the collection based on the other optionally specified parameters.
Namespace:
DlhSoft.Windows.ControlsAssembly: DlhSoft.HierarchicalData.LightWPF.Controls (in DlhSoft.HierarchicalData.LightWPF.Controls.dll)
Syntax
C# |
---|
public void Sort( DataTreeGridItem root, Comparison<DataTreeGridItem> itemComparison, bool descending ) |
Visual Basic (Declaration) |
---|
Public Sub Sort ( _ root As DataTreeGridItem, _ itemComparison As Comparison(Of DataTreeGridItem), _ descending As Boolean _ ) |
Parameters
- itemComparison
- Type: System..::.Comparison<(Of <(DataTreeGridItem>)>)
- descending
- Type: System..::.Boolean