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

CustomDrawTaskEventArgs.DrawShape(RectangleF, Single) Method

In This Article

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

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v24.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