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.v20.2.dll

Declaration

public SchedulerShortcut Add(
    string commandName,
    string shortcut
)
Public Function Add(
    commandName As String,
    shortcut As String
) As SchedulerShortcut

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