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