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

Navigate scheduler to the next view

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class NavigateToNextViewCommand : SchedulerCommand, IImageListProvider

Inheritance: objectCommandBaseSchedulerCommandNavigateToNextViewCommand

Implements: IImageListProvider

Inherited Members SchedulerCommand.Execute(params object[])

Constructors

C#
public NavigateToNextViewCommand()

Methods

Determines whether the active view accepts the candidate start date supplied in parameter. The parameter must be a two-item array containing a RadScheduler and a non-null value whose string representation parses as a DateTime.

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

The Scheduler and candidate start-date value, in that order.

Returns:

bool

true if the active view allows the date; 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)