[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
   [Expand]Product Information
    Getting Started
   [Expand]Scheduler Elements
     Scheduling Basics
     Floating Action Button
    [Expand]Data Binding
     Client-Side Functionality
     Callback Commands
     Time Zones
     iCalendar Support
     Keyboard Shortcuts
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]End-User Capabilities
   [Expand]Member Tables
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Keyboard Shortcuts

The ASPxScheduler supports keyboard shortcuts allowing an end-user to execute a command by pressing an associated key combination. This document lists predefined keyboard shortcuts and provides information on how you can provide custom shortcuts in your web applications.

The document consists of the following sections.

Expanded Predefined Shortcuts

The Scheduler control provides a set of predefined keyboard shortcuts, which are listed in the table below.

Shortcut Command Description
Up SchedulerShortcutCommands.NavigateUp Move selection up or select anappointment above depending on the selection mode.
Down SchedulerShortcutCommands.NavigateDown Move selection down or select an appointment below depending on the selection mode.
Left SchedulerShortcutCommands.NavigateLeft Move selection left or select an appointment to the left depending on the selection mode.
Right SchedulerShortcutCommands.NavigateRight Move selection right or select an appointment to the right depending on the selection mode.
Shift + Up SchedulerShortcutCommands.ExpandSelectionUp Expand the current selection up.
Shift + Down SchedulerShortcutCommands.ExpandSelectionDown Expand the current selection down.
Shift + Left SchedulerShortcutCommands.ExpandSelectionLeft Expand the current selection left.
Shift + Right SchedulerShortcutCommands.ExpandSelectionRight Expand the current selection right.
Ctrl + Left SchedulerShortcutCommands.BackwardVisibleInterval Navigate to the previous visible interval.
Ctrl + Right SchedulerShortcutCommands.ForwardVisibleInterval Navigate to the next visible interval.
Enter SchedulerShortcutCommands.EditAppointment Start editing the current appointment or create a new one.
Tab SchedulerShortcutCommands.ToggleSelection Toggle between cell and appointment selection.
Shift+D SchedulerShortcutCommands.SwitchToDayView Switch to the Day View.
Shift+E SchedulerShortcutCommands.SwitchToWorkWeekView Switch to the Work Week View.
Shift+F SchedulerShortcutCommands.SwitchToFullWeekView Switch to the Full Week View.
Shift+W SchedulerShortcutCommands.SwitchToWeekView Switch to the Week View.
Shift+M SchedulerShortcutCommands.SwitchToMonthView Switch to the Month View.
Shift+T SchedulerShortcutCommands.SwitchToTimelineView Switch to the Timeline View.
Shift+A SchedulerShortcutCommands.SwitchToAgendaView Switch to the Agenda View.
Ctrl+C SchedulerShortcutCommands.Copy Copy the selected appointment.
Ctrl+V SchedulerShortcutCommands.Paste Paste an appointment into the current cell.
Ctrl+X SchedulerShortcutCommands.Cut Cut the selected appointment.
Delete SchedulerShortcutCommands.DeleteShortcut Delete the selected appointment.

Expanded Create Custom Shortcuts

You can define custom keyboard shortcuts using the ASPxScheduler.CustomShortcuts collection property. To create a shortcut and associate it with custom client-side logic, do the following.

  1. Add a custom shortcut to the ASPxScheduler.CustomShortcuts collection.

    At runtime, add a custom shortcut by passing a custom command name and key combination to the SchedulerCustomShortcutCollection.Add method.

  2. Handle the client-side SchedulerClientSideEvents.Shortcut event. This event fires when an end-user presses a key combination associated with any shortcut contained in the ASPxScheduler.CustomShortcuts collection.

  3. In the event handler, use the ShortcutEventArgs.commandName property to determine which shortcut has been pressed.

    The code sample below demonstrates how to provide client-side logic to a custom shortcut.

Expanded Customize Predefined Shortcuts

You can override any predefined shortcut with a custom one, which is useful if you want to assign a custom command to one of the predefined shortcuts. To override an existing shortcut, declare a custom shortcut with the same key combination.

In the code behind, you can achieve this using the SchedulerCustomShortcutCollection.Add method.

To remove an existing shortcut, override it with a custom shortcut whose SchedulerShortcut.CommandName property is set to an empty string.

Expanded See Also

Is this topic helpful?​​​​​​​