Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / DropDownCalendar Class / GetDatesInView Method / GetDatesInView(PickDays) Method
One of the PickDays values that indicates the type used for pick days.


In This Topic
GetDatesInView(PickDays) Method
In This Topic
Gets the dates of the given type in the current view.
Syntax
'Declaration
 
Public Overloads Function GetDatesInView( _
   ByVal type As PickDays _
) As Date()
 
'Usage
 
Dim instance As DropDownCalendar
Dim type As PickDays
Dim value() As Date
 
value = instance.GetDatesInView(type)

Parameters

type
One of the PickDays values that indicates the type used for pick days.

Return Value

A System.DateTime array that includes all dates based on the pick requirement.
Remarks
The method retrieves the PickDays type dates in the current calendar view. If the DropDownCalendar is CalendarType.YearMonth mode, the PickDays type dates between the minimum and the maximum month are returned.
See Also