Skip to main content

SchedulerControl.CreateCommand(SchedulerCommandId) Method

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

Namespace: DevExpress.Xpf.Scheduler

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

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public virtual SchedulerCommand CreateCommand(
    SchedulerCommandId commandId
)

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