RichEditControl.RemoveShortcutKey(Keys, Keys, RichEditViewType) Method

Removes a command shortcut for the specified RichEditView.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v20.2.dll


public void RemoveShortcutKey(
    Keys key,
    Keys modifier,
    RichEditViewType viewType
Public Sub RemoveShortcutKey(
    key As Keys,
    modifier As Keys,
    viewType As RichEditViewType


Name Type Description
key Keys

A Keys enumeration member specifying a key to assign.

modifier Keys

A Keys enumeration member specifying a modifier key.

viewType RichEditViewType

A RichEditCommandId enumeration member specifying a command.


The RichEditControl's shortcuts should be removed after the control is initialized (e.g. in Window.Loaded event handler).

To assign a command shortcut, use the RichEditControl.AssignShortcutKeyToCommand method.

See Also