The TaskItemsConverter type exposes the following members.

Constructors

  NameDescription
Public methodTaskItemsConverter

Methods

  NameDescription
Public methodConvert
Converts custom task items optionally referring custom predecessor items to a collection of GanttChartItem objects referring PredecessorItem objects (as required by Items properties of GanttChartDataGrid and GanttChartView components).
Public methodConvertBack
Throws a not supported exception as two way conversion is internally implemented and may be configured using the UpdateSourceOnTargetChanges and UpdateTargetOnSourceChanges properties of the converter.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Properties

  NameDescription
Public propertyAssignmentsContentMember
Gets or sets the property name of custom task items that AssignmentsContent property of GanttChartItem objects should be bound to. Source object values retreived by the custom property may be of any type (including string). This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
Public propertyBaselineFinishMember
Gets or sets the property name of custom task items that BaselineFinish property of GanttChartItem objects should be bound to. Source object values retreived by the custom property need to be of nullable date and time type. This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
Public propertyBaselineStartMember
Gets or sets the property name of custom task items that BaselineStart property of GanttChartItem objects should be bound to. Source object values retreived by the custom property need to be of nullable date and time type. This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
Public propertyCompletedFinishMember
Gets or sets the property name of custom task items that CompletedFinish property of GanttChartItem objects should be bound to. Source object values retreived by the custom property need to be of date and time type. This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
Public propertyContentMember
Gets or sets the property name of custom task items that Content property of GanttChartItem objects should be bound to. Source object values retreived by the custom property may be of any type (including string). This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
Public propertyFinishMember
Gets or sets the property name of custom task items that Finish property of GanttChartItem objects should be bound to. Source object values retreived by the custom property need to be of date and time type. This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
Public propertyIndentationMember
Gets or sets the property name of custom task items that Indentation property of GanttChartItem objects should be bound to. Source object values retreived by the custom property need to be of integral type. This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
Public propertyIsExpandedMember
Gets or sets the property name of custom task items that IsExpanded property of GanttChartItem objects should be bound to. Source object values retreived by the custom property need to be of Boolean type. This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
Public propertyIsMilestoneMember
Gets or sets the property name of custom task items that IsMilestone property of GanttChartItem objects should be bound to. Source object values retreived by the custom property need to be of Boolean type. This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
Public propertyPredecessorDependencyTypeMember
Gets or sets the property name of custom predecessor items that DependencyType property of PredecessorItem objects should be bound to. Source object values retreived by the custom property need to be of DependencyType type (integral type is accepted). This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
Public propertyPredecessorItemMember
Gets or sets the property name of custom predecessor items that Item property of PredecessorItem objects should be bound to. Source object values retreived by the custom property need to be of custom task item type. This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
Public propertyPredecessorLagMember
Gets or sets the property name of custom predecessor items that Lag property of PredecessorItem objects should be bound to. Source object values retreived by the custom property need to be of time span type. This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
Public propertyPredecessorsMember
Gets or sets the property name of custom task items that Predecessors property of GanttChartItem objects should be bound to. Source object values retreived by the custom property need to be of custom predecessor collection type (IEnumerable based). This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
Public propertyStartMember
Gets or sets the property name of custom task items that Start property of GanttChartItem objects should be bound to. Source object values retreived by the custom property need to be of date and time type. This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
Public propertyUpdateSourceOnTargetChanges
Gets or sets a value that indicates whether data source is automatically updated when target GanttChartItem and PredecessorItem objects generated by the converter get their internally bound values changed. Set this property to false when the feature is not needed, e.g. when the user interface is read only (by default it is set to true in order to automatically propagate changes back to the data source as expected in most situations). This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
Public propertyUpdateTargetOnSourceChanges
Gets or sets a value that indicates whether target GanttChartItem and PredecessorItem objects generated by the converter are automatically updated when internally bound data source values change. Set this property to true only when the feature is needed, i.e. when code behind changes the data source while the user interface presents it and all changes should be automatically reflected on screen (by default it is set to false in order to provide increased performance). Note that automatic updates work only when the custom data source implements INotifyCollectionChanged interface and/or custom data objects implement INotifyPropertyChanged interface. This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
Public propertyWbsIndexStringMember
Gets or sets the property name of custom task items that WbsIndexString property of GanttChartItem objects should be bound to. Source object values retreived by the custom property may be of string type, and are ignored if they are null. This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).

See Also