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