[]
Get the dates of the given type in view.
public DateTime[] GetDatesInView(PickDayType type)
Public Function GetDatesInView(type As PickDayType) As Date()
Type | Name | Description |
---|---|---|
PickDayType | type | One of the PickDayType enumeration values indicates the type used for pick days. |
Type | Description |
---|---|
DateTime[] | A DateTime array includes all dates accord the pick requirement. |
The return value of this method is different when DisplayMode is set to different GrapeCity.Windows.InputMan.CalendarMode enumeration value.
If the DisplayMode is GrapeCity.Windows.InputMan.CalendarMode.Month, the return value will be retrieved from the month displayed in control.
If the DisplayMode is GrapeCity.Windows.InputMan.CalendarMode.Year, the return value will be retrieved from the year displayed in control.
If the DisplayMode is GrapeCity.Windows.InputMan.CalendarMode.Decade, the return value will be retrieved from the decade displayed in control.
Type | Condition |
---|---|
InvalidEnumArgumentException | if |
Get all the dates in view.
public DateTime[] GetDatesInView()
Public Function GetDatesInView() As Date()
Type | Description |
---|---|
DateTime[] | A DateTime array includes all dates in view. |
The return value of this method is different when DisplayMode is set to different GrapeCity.Windows.InputMan.CalendarMode enumeration value.
If the DisplayMode is GrapeCity.Windows.InputMan.CalendarMode.Month, the return value will be retrieved from the month displayed in control.
If the DisplayMode is GrapeCity.Windows.InputMan.CalendarMode.Year, the return value will be retrieved from the year displayed in control.
If the DisplayMode is GrapeCity.Windows.InputMan.CalendarMode.Decade, the return value will be retrieved from the decade displayed in control.