Back to Devexpress

SchedulerCommands.GoToTodayCommand Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercommands-9fd4208c.md

latest2.4 KB
Original Source

SchedulerCommands.GoToTodayCommand Property

Gets or sets a command used to set the SchedulerControl.Start property to the current date.

Namespace : DevExpress.Xpf.Scheduling

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public ICommand GoToTodayCommand { get; set; }
vb
Public Property GoToTodayCommand As ICommand

Property Value

TypeDescription
ICommand

An ICommand object that is the scheduler command.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GoToTodayCommand property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-scheduler-hide-non-working-days-in-day-view/CS/NavigateCommandExample/MainWindow.xaml#L76

xml
<dxsch:SchedulerCommands GoToDateCommand="{DXCommand Execute='MyGoToDate(@e(scheduler))'}"
    GoToTodayCommand="{DXCommand Execute='MyGoToToday(@e(scheduler))'}"
    NavigateViewBackwardCommand="{DXCommand Execute='MyNavigateBackward(@e(scheduler))'}"

See Also

Start

SchedulerCommands Class

SchedulerCommands Members

DevExpress.Xpf.Scheduling Namespace