Skip to main content

RichEditControl.GetShortcutKey(RichEditCommandId, RichEditViewType) Method

Gets the shortcut key for the specified command.

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Package: DevExpress.Wpf.RichEdit

Declaration

public Keys GetShortcutKey(
    RichEditCommandId commandId,
    RichEditViewType viewType
)

Parameters

Name Type Description
commandId RichEditCommandId

A RichEditCommandId enumeration member specifying a command.

viewType RichEditViewType

A RichEditViewType enumeration member specifying the RichEdit view.

Returns

Type Description
Keys

A Keys enumeration member identifying shortcut keys.

See Also