Skip to main content
All docs
V25.2
  • CustomDrawTaskEventArgs.DrawShape(RectangleF, Single) Method

    Draws the task shape: bar, summary bar, or milestone.

    Namespace: DevExpress.XtraGantt

    Assembly: DevExpress.XtraGantt.v25.2.dll

    NuGet Package: DevExpress.Win.Gantt

    Declaration

    public void DrawShape(
        RectangleF bounds,
        float progress
    )

    Parameters

    Name Type Description
    bounds RectangleF

    A RectangleF structure that specifies the bounds where the shape should be drawn.

    progress Single

    A value that specifies the task progress.

    See Also