Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GanttChartMappings.ProgressFieldName Property

Gets or sets the data source field (of the Single type) that specifies a task’s progress (from 0 to 100 percent).

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v24.2.dll

NuGet Package: DevExpress.Win.Gantt

#Declaration

[DefaultValue("Progress")]
[DXCategory("Mappings")]
[XtraSerializableProperty]
public string ProgressFieldName { get; set; }

#Property Value

Type Default Description
String "Progress"

The data source field that specifies a task’s progress.

#Remarks

The DataSource property specifies the data source bound to the control. Use the ProgressFieldName property to specify the field in the data source that stores each task’s progress. The type of the data field should be Single and contain values from 0 to 100.

ganttControl1.ChartMappings.ProgressFieldName = "Progress";

See Task Progress for more information.

See Also