Gets the time corresponding to a location on the canvas.

Namespace:  Mindscape.WpfElements
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
protected override DateTime GetDateTime(
	double x,
	double y,
	TimeEnd timeEnd
)
Visual Basic (Declaration)
Protected Overrides Function GetDateTime ( _
	x As Double, _
	y As Double, _
	timeEnd As TimeEnd _
) As DateTime

Parameters

x
Type: System..::.Double
The x-coordinate of the location.
y
Type: System..::.Double
The y-coordinate of the location.
timeEnd
Type: Mindscape.WpfElements..::.TimeEnd
Whether to adjust the time for the start or end of a ScheduleItem.

Return Value

The date and time corresponding to x and y.

See Also