The TaskEventItemsConverter type exposes the following members.

Constructors

  NameDescription
TaskEventItemsConverter

Methods

  NameDescription
Convert
Converts custom task event items optionally referring custom predecessor items to a collection of PertChartItem objects referring PredecessorItem objects (as required by Items properties of PertChartView component).
ConvertBack
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.
Equals (Inherited from Object.)
Finalize (Inherited from Object.)
GetHashCode (Inherited from Object.)
GetType (Inherited from Object.)
MemberwiseClone (Inherited from Object.)
ToString (Inherited from Object.)

Properties

  NameDescription
ContentMember
Gets or sets the property name of custom task event items that Content property of PertChartItem 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).
DisplayedColumnIndexMember
Gets or sets the property name of custom task event items that DisplayedColumnIndex property of PertChartItem objects should be bound to. Source object values retreived by the custom property need to be of numeric type. This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
DisplayedRowIndexMember
Gets or sets the property name of custom task event items that DisplayedRowIndex property of PertChartItem objects should be bound to. Source object values retreived by the custom property need to be of numeric type. This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
DisplayedTextMember
Gets or sets the property name of custom task event items that DisplayedText property of PertChartItem objects should be bound to. Source object values retreived by the custom property need to be of string type. This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
PredecessorContentMember
Gets or sets the property name of custom predecessor items that Content property of PredecessorItem 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).
PredecessorDisplayedTextMember
Gets or sets the property name of custom predecessor items that DisplayedText property of PredecessorItem objects should be bound to. Source object values retreived by the custom property need to be of string type. This property can be set only at initialization time (an exception is thrown if it is set after having the conversion process started).
PredecessorEffortMember
Gets or sets the property name of custom predecessor items that Effort 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).
PredecessorItemMember
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 event 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).
PredecessorsMember
Gets or sets the property name of custom task event items that Predecessors property of PertChartItem 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).
UpdateSourceOnTargetChanges
Gets or sets a value that indicates whether data source is automatically updated when target PertChartItem 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).
UpdateTargetOnSourceChanges
Gets or sets a value that indicates whether target PertChartItem 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).

See Also