Class
AddAppointmentCommand

Represents a command that creates a new appointment in the scheduler. When executed, this command opens the appointment creation dialog.

Definition

Namespace:Telerik.Maui.Controls.Scheduler

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class AddAppointmentCommand : SchedulerCommand, ICommand

Inheritance: objectSchedulerCommandAddAppointmentCommand

Implements: ICommand

Inherited Members SchedulerCommand.SchedulerSchedulerCommand.CanExecuteChanged

Constructors

AddAppointmentCommand()

Declaration

cs-api-definition
public AddAppointmentCommand()

Methods

CanExecute(object)

Determines whether the command can execute in its current state.

Declaration

cs-api-definition
public override bool CanExecute(object parameter)

Parameters

parameter

object

Data used by the command. This parameter can be null.

Returns

bool

true if this command can be executed; otherwise, false.

Overrides SchedulerCommand.CanExecute(object)

Execute(object)

Defines the method to be called when the command is invoked. Opens the appointment creation dialog.

Declaration

cs-api-definition
public override void Execute(object parameter)

Parameters

parameter

object

Data used by the command. This parameter can be null.

Overrides SchedulerCommand.Execute(object)