SchedulerControl.CreateCommand(SchedulerCommandId) Method

Creates a DevExpress.XtraScheduler.Commands.SchedulerCommand object by the command identifier.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v20.1.dll

Declaration

public virtual SchedulerCommand CreateCommand(
    SchedulerCommandId commandId
)
Public Overridable Function CreateCommand(
    commandId As SchedulerCommandId
) As SchedulerCommand

Parameters

Name Type Description
commandId DevExpress.XtraScheduler.Commands.SchedulerCommandId

A DevExpress.XtraScheduler.Commands.SchedulerCommandId structure member, which specifies a command.

Returns

Type Description
DevExpress.XtraScheduler.Commands.SchedulerCommand

A DevExpress.XtraScheduler.Commands.SchedulerCommand instance, representing a SchedulerControl command.

Remarks

IMPORTANT

You are viewing documentation for the legacy WPF Scheduler control. If you're starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

See Also