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


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

Glossary Item Box

Gets the dates of the given type in the current view.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetDatesInView( _
   ByVal type As PickDays _
) As Date()
Visual Basic (Usage)Copy Code
Dim instance As DropDownCalendar
Dim type As PickDays
Dim value() As Date
 
value = instance.GetDatesInView(type)
C# 
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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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