Spread Windows Forms 12.0 Product Documentation
DayOfWeekFromPoint(Int32,Int32) Method


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > DropDownCalendar Class > DayOfWeekFromPoint Method : DayOfWeekFromPoint(Int32,Int32) Method
The System.Int32 value that indicates the x-coordinate of the point.
The System.Int32 value that indicates the y-coordinate of the point.
Gets a date according the given x-coordinate and y-coordinate.
Syntax
'Declaration
 
Public Overloads Function DayOfWeekFromPoint( _
   ByVal x As Integer, _
   ByVal y As Integer _
) As DayOfWeek
'Usage
 
Dim instance As DropDownCalendar
Dim x As Integer
Dim y As Integer
Dim value As DayOfWeek
 
value = instance.DayOfWeekFromPoint(x, y)
public DayOfWeek DayOfWeekFromPoint( 
   int x,
   int y
)

Parameters

x
The System.Int32 value that indicates the x-coordinate of the point.
y
The System.Int32 value that indicates the y-coordinate of the point.

Return Value

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

Reference

DropDownCalendar Class
DropDownCalendar Members
Overload List