Skip to main content
A newer version of this page is available. .

SchedulerCommands.NavigateViewForwardCommand Property

Gets or sets a command that executes the active view’s NavigateForward method.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public ICommand NavigateViewForwardCommand { get; set; }

Property Value

Type Description
ICommand

An ICommand object that is the scheduler command.

Example

This code substitutes the SchedulerCommands.NavigateViewBackwardCommand, SchedulerCommands.NavigateViewForwardCommand, SchedulerCommands.GoToDateCommand and SchedulerCommands.GoToTodayCommand command execution with the methods defined in the ViewModel using the DXCommand binding tool.

View Example

<dxsch:SchedulerControl.Commands>
    <dxsch:SchedulerCommands GoToDateCommand="{DXCommand Execute='MyGoToDate(@e(scheduler))'}"
        GoToTodayCommand="{DXCommand Execute='MyGoToToday(@e(scheduler))'}"
        NavigateViewBackwardCommand="{DXCommand Execute='MyNavigateBackward(@e(scheduler))'}"
        NavigateViewForwardCommand="{DXCommand Execute='MyNavigateForward(@e(scheduler))'}" />
</dxsch:SchedulerControl.Commands>
See Also