Skip to main content
A newer version of this page is available. .

CustomDrawTaskEventArgs.GetPosition(DateTime) Method

Returns the horizontal position of the specified date on the timescale.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v20.2.dll

NuGet Package: DevExpress.Win.Gantt

Declaration

public double GetPosition(
    DateTime date
)

Parameters

Name Type Description
date DateTime

A value that specifies a date.

Returns

Type Description
Double

A value that specifies a position on the timescale’s X-axis.

See Also