Spread Windows Forms 9.0 Product Documentation
GetDatesInView(PickDays) Method


One of the PickDays values that indicates the type used for pick days.
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)
public DateTime[] GetDatesInView( 
   PickDays 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.
Requirements

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

See Also

Reference

DropDownCalendar Class
DropDownCalendar Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.