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

Declaration

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

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