ComponentOne Scheduler for WPF and Silverlight
GetDateTimeAtPoint Method (CalendarBase)

C1.WPF.Schedule Namespace > CalendarBase Class : GetDateTimeAtPoint Method
The CalendarBase control.
The System.Windows.Point object which specifies location inside control boundaries.
Returns the System.Nullable`1 at the specified location.
Syntax
'Declaration
 
Public Shared Function GetDateTimeAtPoint( _
   ByVal calendar As CalendarBase, _
   ByVal location As System.Windows.Point _
) As System.Nullable(Of Date)
public static System.Nullable<DateTime> GetDateTimeAtPoint( 
   CalendarBase calendar,
   System.Windows.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

Reference

CalendarBase Class
CalendarBase Members