Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]Scheduler
  [Collapse]HTML Editor
    Deployment of ASPxHtmlEditor
    Main Features
    Getting Started
    ASPxHtmlEditor Designer
   [Collapse]Concepts
    [Expand]View Modes
    [Expand]Get and Set HTML
    [Expand]Toolbars
    [Expand]Dialogs
     Context Menu
     Placeholders
    [Expand]Content Filtering and Validation
    [Expand]Layout
     Searching Content
     Client-Side Commands
     Keyboard Shortcuts
     Import and Export
     Support for SharePoint
   [Expand]Visual Elements
   [Expand]Examples
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Keyboard Shortcuts

A keyboard shortcut is a set of one or more keys that invoke a dialog or execute a command when triggered by an end-user. A shortcut is represented by the HtmlEditorShortcut class. A collection of shortcuts is stored in the HtmlEditorShortcutCollection object, which can be accessed by the ASPxHtmlEditor.Shortcuts property.

Expanded Default Shortcuts

By default, ASPxHtmlEditor provides the following shortcuts.

Shortcut ActionName ActionView Description
Ctrl+A selectall Design Selects the entire content
Ctrl+B bold Design Applies bold formatting to the selected text
Ctrl+C kbcopy Design Copies the selection
Ctrl+E justifycenter Design Justifies text center
Ctrl+F showsearchpanel Design Shows search panel
Ctrl+F showsearchpanel Html Shows search panel
Ctrl+G insertimagedialog Design Invokes the Insert Image Dialog
Ctrl+H findandreplacedialog Design Invokes the Find and Replace Dialog
Ctrl+H findandreplacedialog Html Invokes the Find and Replace Dialog
Ctrl+I italic Design Applies italic formatting to the selected text
Ctrl+J justifyfull Design Justifies text
Ctrl+K insertlinkdialog Design Invokes the Insert Link Dialog for the selection
Ctrl+L justifyleft Design Justifies text left
Ctrl+P print Design Prints editor content
Ctrl+R justifyright Design Justifies text right
Ctrl+U underline Design Underlines the selected text
Ctrl+V kbpaste Design Pastes content from the clipboard
Ctrl+X kbcut Design Cuts the selection
Ctrl+Y redo Design Redoes the last undone action
Ctrl+Z undo Design Undoes the last action
Ctrl+Ins kbcopy Design Copies the selection
Ctrl+Space showintellisense Html Shows intellisense
Ctrl+Shift+K unlink Design Unlinks the selection
Shift+Del kbcut Design Cuts the selection
Shift+Ins kbpaste Design Pastes content from the clipboard
F11 fullscreen Design Activates/deactivates the full-screen mode
F11 fullscreen Html Activates/deactivates the full-screen mode
F11 fullscreen Preview Activates/deactivates the full-screen mode

Expanded Shortcut Design-time Customization

ASPxHtmlEditor allows you to redefine default shortcuts and create custom shortcuts at design time in two ways.

  • Uing an ASPxHtmlEditor Designer

  • Dectly in a markup

    The code sample below demonstrates how you can specify shortcuts in markup. The first shortcut invokes a MyDialog custom dialog. The second shortcut redefines a default Ctrl+B shortcut. The third shortcut assigns the default command bold to custom shortcut.

    Note that other default shortcuts (except Ctrl+B) are still in effect.

Expanded Shortcut Runtime Customization

ASPxHtmlEditor allows you to modify a shortcut collection at run time, using the methods provided in the HtmlEditorShortcutCollection collection.

The code sample below demonstrates how you can modify a shortcut collection at run time. The first shortcut invokes a MyDialog custom dialog. The second shortcut redefines a default Ctrl+B shortcut. The third shortcut assigns the default command bold to a custom shortcut.

Note that other default shortcuts (except Ctrl+B) are still in effect.

How would you rate this topic?​​​​​​​