SchedulerCustomShortcutCollection Class

Represents a collection of custom keyboard shortcuts.

Namespace: DevExpress.Web.ASPxScheduler

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

Declaration

public class SchedulerCustomShortcutCollection :
    Collection<SchedulerShortcut>
Public Class SchedulerCustomShortcutCollection
    Inherits Collection(Of SchedulerShortcut)

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.

Examples

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.shortcutName == "customShortcut") {

        // Your custom logic to process a keyboard shortcut. 

        args.handled = true;
    }
}

Inheritance

See Also