New to Telerik UI for WinForms? Start a free 30-day trial

Navigate scheduler to the previous view

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class NavigateToPreviousViewCommand : SchedulerCommand, IImageListProvider

Inheritance: objectCommandBaseSchedulerCommandNavigateToPreviousViewCommand

Implements: IImageListProvider

Inherited Members SchedulerCommand.Execute(params object[])

Constructors

C#
public NavigateToPreviousViewCommand()

Methods

Determines whether this instance can execute the specified parameter.

C#
public override bool CanExecute(object parameter)
Parameters:parameterobject

The parameter.

Returns:

bool

true if this instance is a RadScheduler instance; otherwise, false.

Overrides: SchedulerCommand.CanExecute(object)

Executes the command.

C#
public void ExecuteCommand(RadScheduler scheduler, NavigationStepTypes navigationStepType, int navigationStep)
Parameters:schedulerRadScheduler

The scheduler.

navigationStepTypeNavigationStepTypes

Type of the navigation step.

navigationStepint

The navigation step.

This method will not affect the scheduler view if the view is WeekView or MonthView, where
the navigationStepType is a Day and the NavigationStep is less then 7.

Executes the command.

C#
public override void ExecuteCommand(RadScheduler scheduler)
Parameters:schedulerRadScheduler

The scheduler.

Overrides: SchedulerCommand.ExecuteCommand(RadScheduler)