Scheduler for WPF | ComponentOne
C1.WPF.Schedule Namespace / CalendarBase Class / GetDateTimeAtPoint Method
The CalendarBase control.
The System.Windows.Point object which specifies location inside control boundaries.

In This Topic
    GetDateTimeAtPoint Method (CalendarBase)
    In This Topic
    Returns the Nullable at the specified location.
    Syntax
    'Declaration
     
    
    Public Shared Function GetDateTimeAtPoint( _
       ByVal calendar As CalendarBase, _
       ByVal location As Point _
    ) As Nullable(Of Date)
    public static Nullable<DateTime> GetDateTimeAtPoint( 
       CalendarBase calendar,
       Point location
    )

    Parameters

    calendar
    The CalendarBase control.
    location
    The System.Windows.Point object which specifies location inside control boundaries.

    Return Value

    Returns System.DateTime value if found; Null - otherwise.
    See Also