GanttView.DateTimeToPoint(DateTime) Method
Converts the date-time value to a window coordinate.
Namespace: DevExpress.Xpf.Gantt
Assembly: DevExpress.Xpf.Gantt.v24.2.dll
NuGet Package: DevExpress.Wpf.Gantt
Declaration
Parameters
Name | Type | Description |
---|---|---|
dateTime | DateTime | The date-time value to convert. |
Returns
Type | Description |
---|---|
Double | A window horizontal coordinate that corresponds to the date-time value. |
Remarks
When the converted date-time value belongs to a collapsed time interval, the DateTimeToPoint returns the coordinate of the first point that belongs to the following working time.
For the opposite conversion, use the PointToDateTime(Double) method.
See Also