Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / DropDownCalendar Class / DayOfWeekFromPoint Method / DayOfWeekFromPoint(Point) Method
The value of the point type.


In This Topic
DayOfWeekFromPoint(Point) Method
In This Topic
Gets the weekday from a point.
Syntax
'Declaration
 
Public Overloads Function DayOfWeekFromPoint( _
   ByVal point As Point _
) As DayOfWeek
 
'Usage
 
Dim instance As DropDownCalendar
Dim point As Point
Dim value As DayOfWeek
 
value = instance.DayOfWeekFromPoint(point)

Parameters

point
The value of the point type.

Return Value

The DayOfWeekType used to express the current weekday.
Remarks
This method can retrieve a weekday from a special point. If the given point is not contained in the DropDownCalendar view, a a null reference (Nothing in Visual Basic) value is returned.
See Also