[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.DropDownCalendar.GetDatesInView

GetDatesInView Method

GetDatesInView(PickDays)

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

Declaration
public DateTime[] GetDatesInView(PickDays type)
Public Function GetDatesInView(type As PickDays) As Date()
Parameters
Type Name Description
PickDays type

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

Returns
Type Description
DateTime[]

A 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 YearMonth mode, the PickDays type dates between the minimum and the maximum month are returned.

GetDatesInView()

Gets all the dates in the view.

Declaration
public DateTime[] GetDatesInView()
Public Function GetDatesInView() As Date()
Returns
Type Description
DateTime[]

A DateTime array that includes all dates in the view.

Remarks

This method retrieves all normal dates in the current calendar view. If the DropDownCalendar is YearMonth mode, all dates between the minimum and the maximum month are returned.