Spread Windows Forms 7.0 Product Documentation
DayOfWeekFromPoint(Point) Method
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > DropDownCalendar Class > DayOfWeekFromPoint Method : DayOfWeekFromPoint(Point) Method


point
The value of the point type.

Glossary Item Box

Gets the weekday from a point.

Syntax

Visual Basic (Declaration) 
Public Overloads Function DayOfWeekFromPoint( _
   ByVal point As Point _
) As DayOfWeek
Visual Basic (Usage)Copy Code
Dim instance As DropDownCalendar
Dim point As Point
Dim value As DayOfWeek
 
value = instance.DayOfWeekFromPoint(point)
C# 
public DayOfWeek DayOfWeekFromPoint( 
   Point 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.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.