Gets the horizontal coordinate in the chart for the specified date and time. The output value may be negative if the date time is less than TimelinePageStart, or higher than ComputedWidth if the date time is greater than TimelinePageFinish.

Namespace:  DlhSoft.Windows.Controls
Assembly:  DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)

Syntax

C#
public double GetPosition(
	DateTime dateTime
)
Visual Basic (Declaration)
Public Function GetPosition ( _
	dateTime As DateTime _
) As Double

Parameters

dateTime
Type: System..::..DateTime
The date and time to get the position for.

Return Value

The horizontal coordinate in the chart for the specified date and time.

Implements

IGanttChartView..::..GetPosition(DateTime)

See Also