Hierarchically sorts the child items within a specified root task item in the collection based on the other optionally specified parameters.

Namespace:  DlhSoft.Windows.Controls
Assembly:  DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)

Syntax

C#
public void Sort(
	GanttChartItem root,
	Comparison<GanttChartItem> itemComparison,
	bool descending
)
Visual Basic (Declaration)
Public Sub Sort ( _
	root As GanttChartItem, _
	itemComparison As Comparison(Of GanttChartItem), _
	descending As Boolean _
)

Parameters

root
Type: DlhSoft.Windows.Controls..::.GanttChartItem
itemComparison
Type: System..::.Comparison<(Of <(GanttChartItem>)>)
descending
Type: System..::.Boolean

See Also