Back to Devexpress

GanttChartMappings Members

windowsforms-devexpress-dot-xtragantt-dot-ganttchartmappings-dot-underscore-members.md

latest8.3 KB
Original Source

GanttChartMappings Members

Contains properties that specify names of data fields mapped to task properties (caption, start and finish dates, progress, and so on).

Constructors

NameDescription
GanttChartMappings(GanttControl)Initializes a new GanttChartMappings class instance.

Properties

NameDescription
BaselineDurationFieldNameGets or sets the data source field (of the TimeSpan type) that specifies a task’s baseline duration.
BaselineFinishDateFieldNameGets or sets the data source field (of the DateTime type) that specifies a task’s baseline finish date.
BaselineStartDateFieldNameGets or sets the data source field (of the DateTime type) that specifies a task’s baseline start date.
ConstraintDateFieldNameGets or sets the data source field (of the DateTime type) that specifies a task’s constraint date.
ConstraintTypeFieldNameGets or sets the data source field (of the ConstraintType or Int32 type) that specifies a task’s constraint type.
DurationFieldNameGets or sets the data source field (of the TimeSpan type) that specifies a task’s duration (only work hours).
FinishDateFieldNameGets or sets the data source field (of the DateTime type) that specifies a task’s finish date.
InteractionTooltipTextFieldNameGets or sets the data source field (of the String type) that specifies a task’s text in interaction tooltips.
PredecessorsFieldNameGets or sets the data source field that specifies a task’s predecessors. The data field should contain an IList object or a String value with keys separated by space, comma, or semicolon (‘ ‘, ‘,’ ‘;’).
ProgressFieldNameGets or sets the data source field (of the Single type) that specifies a task’s progress (from 0 to 100 percent).
StartDateFieldNameGets or sets the data source field (of the DateTime type) that specifies a task’s start date.
TextFieldNameGets or sets the data source field (of the String type) that contains the caption displayed next to a task in the chart area.
TimelineCaptionGets or sets the name of a field in the data source, with string values ​​that specify the captions of tasks on the timeline.
VisibleInTimelineFieldNameGets or sets the name of a field in a data source, with Boolean values that specify which tasks to display on the timeline.

Methods

NameDescription
Assign(BaseOptions)Copies all settings from the options object passed as a parameter. Inherited from BaseOptions.
BeginUpdate()Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate()Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
EndUpdate()Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
Reset()Resets all options to their default values. Inherited from BaseOptions.
ToString()Returns a string representing the currently enabled options. Inherited from BaseOptions.

See Also

GanttChartMappings Class

DevExpress.XtraGantt Namespace