Converts custom task items optionally referring custom predecessor items to a collection of NetworkDiagramItem objects referring NetworkPredecessorItem objects (as required by Items property of NetworkDiagramView component). Use *Member properties of the converter instance to control which properties of custom items are bound to which NetworkDiagramItem and NetworkPredecessorItem properties (undefined/null Member values indicate properties that are not bound and default values are automatically generated for these properties on NetworkDiagramItem and NetworkPredecessorItem objects instead). The converter uses reflection to retreive the appropriate property values from your custom data objects and apply them to the corresponding NetworkDiagramItem and NetworkPredecessorItem instances. Referred member properties of custom items should be public and accessible for reading and optionally writing (property paths are not supported). Set UpdateSourceOnTargetChanges and/or UpdateTargetOnSourceChanges properties to true/false to indicate the directions of internally managed change updates. Note that UpdateTargetOnSourceChanges works only when the custom data source implements INotifyCollectionChanged interface and/or custom data objects implement INotifyPropertyChanged interface. When UpdateSourceOnTargetChanges is set new objects that need to be created are generated by Activator.CreateInstance internal calls, and therefore they need to provide public access to their parameterless constructor (or their default constructor).

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

Syntax

C#
public class NetworkTaskItemsConverter : IValueConverter
Visual Basic (Declaration)
Public Class NetworkTaskItemsConverter _
	Implements IValueConverter

Inheritance Hierarchy

System..::.Object
  DlhSoft.Windows.Controls.Pert..::.NetworkTaskItemsConverter

See Also