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

RichEditControl.RemoveShortcutKey(Keys, Keys, RichEditViewType) Method

Removes a command shortcut for the specified RichEditView.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v19.1.dll

Declaration

public void RemoveShortcutKey(
    Keys key,
    Keys modifier,
    RichEditViewType viewType
)

Parameters

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.

Remarks

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