Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / CalendarCommands Class / MoveToToday Property


In This Topic
    MoveToToday Property
    In This Topic
    Represents the MoveToToday command, which requests that calendar to move focus and selected date to System.DateTime.Today.
    Syntax
    'Declaration
     
    Public Shared ReadOnly Property MoveToToday As RoutedUICommand
    'Usage
     
    Dim value As RoutedUICommand
     
    value = CalendarCommands.MoveToToday
    public static RoutedUICommand MoveToToday {get;}

    Property Value

    The requested command. Default key gesture is F5.
    Remarks

    This command cannot be executed when System.DateTime.Today is out of the range between GcDropDownCalendar.MinDate and GcDropDownCalendar.MaxDate.

    This command is natively supported by GcDropDownCalendar.

    See Also