Search
Calendar.GetDateAt Method (Int32, Int32, Rect@)
See Also
 






Returns the date of the calendar cell located at the specified position and the bounding rectangle of the cell.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public DateTime GetDateAt (
    int x,
    int y,
    ref Rect bounds
)

Visual Basic  Copy Code

Public Function GetDateAt( _
    x As Integer, _
    y As Integer, _
    ByRef bounds As Rect _
) As DateTime

 Parameters

x

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

y

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

bounds

A parameter that will receive the bounding rectangle of the hit-tested cell.

 Return Value

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

 See Also