Search
Calendar.GetExactDateAt Method (Int32, Int32)
See Also
 






Returns the date located at the specified coordinates.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public DateTime GetExactDateAt (
    int x,
    int y
)

Visual Basic  Copy Code

Public Function GetExactDateAt( _
    x As Integer, _
    y As Integer _
) As DateTime

 Parameters

x

The x-coordinate of the position at which to look for a date.

y

The y-coordinate of the position at which to look for a date.

 Return Value

A DateTime instance indicating which date is displayed at the specified position. If there is no date at the specified position, the return value is DateTime.MinValue.

 Remarks

The returned value represents the exact date located at the specified position in contrast with GetDateAt, which returns the start date of the cell, located at the specified position. This method works only in a Timetable view.

 See Also