The ResourceItemsConverter type exposes the following members.

Constructors

  NameDescription
ResourceItemsConverter

Methods

  NameDescription
Convert
Converts custom resource items referring custom task items to a collection of ScheduleChartItem objects referring GanttChartItem objects (as required by Items properties of ScheduleChartDataGrid and ScheduleChartView components).
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
AssignedTasksMember
Gets or sets the property name of custom resource items that GanttChartItems property of ScheduleChartItem objects should be bound to. Source object values retreived by the custom property need to be of custom task 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).
ContentMember
Gets or sets the property name of custom resource items that Content property of ScheduleChartItem 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).
TaskAssignmentsContentMember
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).
TaskCompletedFinishMember
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).
TaskContentMember
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).
TaskFinishMember
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).
TaskStartMember
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).
UpdateSourceOnTargetChanges
Gets or sets a value that indicates whether data source is automatically updated when target ScheduleChartItem and GanttChartItem 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 ScheduleChartItem and GanttChartItem 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