[]
Gets a date according the given x-coordinate and y-coordinate.
public DayOfWeek DayOfWeekFromPoint(int x, int y)
Public Function DayOfWeekFromPoint(x As Integer, y As Integer) As DayOfWeek
Type | Name | Description |
---|---|---|
int | x | The int value that indicates the x-coordinate of the point. |
int | y | The int value that indicates the y-coordinate of the point. |
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 null value is returned.
Gets the weekday from a point.
public DayOfWeek DayOfWeekFromPoint(Point point)
Public Function DayOfWeekFromPoint(point As Point) As DayOfWeek
Type | Name | Description |
---|---|---|
Point | point | The value of the point type. |
Type | Description |
---|---|
DayOfWeek | The DayOfWeekType used to express the current weekday. |
This method can retrieve a weekday from a special point. If the given point is not contained in the DropDownCalendar view, a null value is returned.