Skip to main content

SchedulerCustomShortcutCollection.Add(String, String) Method

Adds a new keyboard shortcut with the specified settings to the collection.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v24.1.dll

NuGet Package: DevExpress.Web.Scheduler

Declaration

public SchedulerShortcut Add(
    string commandName,
    string shortcut
)

Parameters

Name Type Description
commandName String

A string specifying the name of the command associated with the shortcut.

shortcut String

A string specifying the keyboard combination.

Returns

Type Description
SchedulerShortcut

A SchedulerShortcut object that is the newly created item.

See Also