Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcDropDownCalendar Class / GetDatesInView Method / GetDatesInView() Method


In This Topic
    GetDatesInView() Method
    In This Topic
    Get all the dates in view.
    Syntax
    'Declaration
     
    Public Overloads Function GetDatesInView() As Date()
    'Usage
     
    Dim instance As GcDropDownCalendar
    Dim value() As Date
     
    value = instance.GetDatesInView()
    public DateTime[] GetDatesInView()

    Return Value

    A System.DateTime array includes all dates in view.
    Remarks

    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.

    See Also