Skip to main content
All docs
V25.2
  • 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.v25.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.

    The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ProgressFieldName property.

    Note

    The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

    See Also