Skip to main content

RichEditControl.GetShortcutKey(RichEditCommandId, RichEditViewType) Method

Gets the shortcut key for the specified command.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v24.1.dll

NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.RichEdit, DevExpress.Win.TreeMap

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