Returns the date and time for the specified position (x-axis coordinate) in the GanttChartViewBase control.

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

Syntax

C#
public DateTime GetDateTime(
	double position,
	bool workingTimeOnly
)
Visual Basic (Declaration)
Public Function GetDateTime ( _
	position As Double, _
	workingTimeOnly As Boolean _
) As DateTime

Parameters

position
Type: System..::.Double
The position (x-axis coordinate) to return the date and time for.
workingTimeOnly
Type: System..::.Boolean
A value indicating whether to make sure the returned value is of a working time.

Return Value

The date and time for the specified position (x-axis coordinate) in the GanttChartViewBase control.

See Also