New to Telerik UI for WinFormsStart a free 30-day trial

Represent the abstract SchedurlerCommand class

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public abstract class SchedulerCommand : CommandBase, IImageListProvider

Inheritance: objectCommandBaseSchedulerCommand

Derived Classes: CreateNewAppointmentCommandNavigateBackwardCommandNavigateForwardCommandNavigateToNextAppointmentsCommandNavigateToNextViewCommandNavigateToPreviousAppointmentsCommandNavigateToPreviousViewCommand...

Implements: IImageListProvider

Constructors

C#
protected SchedulerCommand()

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: CommandBase.CanExecute(object)

Executes the command with the given settings.

C#
public override object Execute(params object[] settings)
Parameters:settingsobject[]Returns:

object

Overrides: CommandBase.Execute(params object[])

Executes the command.

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

The scheduler.