Iterates predecessor items of the specified item satisfying the specified dependency type condition in the Gantt Chart related collection as GanttChartItem objects.

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

Syntax

C#
public IEnumerable<GanttChartItem> GetPredecessors(
	GanttChartItem item,
	Predicate<DependencyType> dependencyTypeCondition
)
Visual Basic (Declaration)
Public Function GetPredecessors ( _
	item As GanttChartItem, _
	dependencyTypeCondition As Predicate(Of DependencyType) _
) As IEnumerable(Of GanttChartItem)

Parameters

item
Type: DlhSoft.Windows.Controls..::..GanttChartItem
The item to iterate predecessors of.
dependencyTypeCondition
Type: System..::..Predicate<(Of <(<'DependencyType>)>)>
The depedency type condition to be satisied.

Return Value

The predecessor items of the specified item satisfying the specified dependency type condition as GanttChartItem objects.

See Also