Skip to main content
A newer version of this page is available. .

SchedulerCustomShortcutCollection Class

Represents a collection of custom keyboard shortcuts.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v20.2.dll

NuGet Package: DevExpress.Web.Scheduler

Declaration

public class SchedulerCustomShortcutCollection :
    Collection<SchedulerShortcut>

The following members return SchedulerCustomShortcutCollection objects:

Remarks

The SchedulerCustomShortcutCollection represents a collection of SchedulerShortcut objects. The properties and methods declared by this class can be used to perform common collection operations such as adding new or deleting existing items. Individual items can be accessed using indexer notation.

An instance of the SchedulerCustomShortcutCollection class can be accessed using the ASPxScheduler.CustomShortcuts property.

Example

This code example demonstrates how to use the ASPxScheduler API to define a new keyboard shortcut and associate it with custom client-side logic.

function onShortcut(scheduler, args) {
    if (args.commandName == "myTab") {

        // Your custom logic to process a keyboard shortcut. 

        args.handled = true;
    }
}

Inheritance

See Also