Gets a collection of PertChartItem objects that may be used as an item collection within an associated IPertChartView control.

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

Syntax

C#
public static ObservableCollection<PertChartItem> GetPertChartItems(
	IEnumerable<PertChartView..::.IActivityItem> activityItems,
	PertChartView..::.GetNextWorkingTimeDelegate getNextWorkingTimeDelegate,
	int maxIndentation,
	string startContent,
	string finishContent,
	string linkContent,
	string completedContentTemplate,
	string startingContentTemplate
)
Visual Basic (Declaration)
Public Shared Function GetPertChartItems ( _
	activityItems As IEnumerable(Of PertChartView..::.IActivityItem), _
	getNextWorkingTimeDelegate As PertChartView..::.GetNextWorkingTimeDelegate, _
	maxIndentation As Integer, _
	startContent As String, _
	finishContent As String, _
	linkContent As String, _
	completedContentTemplate As String, _
	startingContentTemplate As String _
) As ObservableCollection(Of PertChartItem)

Parameters

activityItems
Type: System.Collections.Generic..::.IEnumerable<(Of <(PertChartView..::.IActivityItem>)>)
The activity items to convert.
getNextWorkingTimeDelegate
Type: DlhSoft.Windows.Controls.Pert..::.PertChartView..::.GetNextWorkingTimeDelegate
An optional method that returns the next working time after a specific date and time value.
maxIndentation
Type: System..::.Int32
The maximum indentation to consider.
startContent
Type: System..::.String
The content to be set on the start task event.
finishContent
Type: System..::.String
The content to be set on the finish task event.
linkContent
Type: System..::.String
The content to be set on automatically generated link tasks.
completedContentTemplate
Type: System..::.String
The string format to be used for setting the content of the completed task events. Available fields: {Content}.
startingContentTemplate
Type: System..::.String
The string format to be used for setting the content of the starting task events. Available fields: {Content}.

See Also