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

RichEditControl.GetShortcutKey(RichEditCommandId, RichEditViewType) Method

Gets the shortcut key for the specified command.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v20.2.dll

NuGet Package: DevExpress.Win.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