Back to Devexpress

RichEditControl.GetShortcutKey(RichEditCommandId, RichEditViewType) Method

windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-dot-getshortcutkey-x28-devexpress-dot-xtrarichedit-dot-commands-dot-richeditcommandid-devexpress-dot-xtrarichedit-dot-richeditviewtype-x29.md

latest2.1 KB
Original Source

RichEditControl.GetShortcutKey(RichEditCommandId, RichEditViewType) Method

Gets the shortcut key for the specified command.

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.XtraRichEdit.v25.2.dll

NuGet Package : DevExpress.Win.RichEdit

Declaration

csharp
public Keys GetShortcutKey(
    RichEditCommandId commandId,
    RichEditViewType viewType
)
vb
Public Function GetShortcutKey(
    commandId As RichEditCommandId,
    viewType As RichEditViewType
) As Keys

Parameters

NameTypeDescription
commandIdRichEditCommandId

A RichEditCommandId enumeration member specifying a command.

| | viewType | RichEditViewType |

A RichEditViewType enumeration member specifying the RichEdit view.

|

Returns

TypeDescription
Keys

A Keys enumeration member identifying shortcut keys.

|

See Also

RichEditControl Class

RichEditControl Members

DevExpress.XtraRichEdit Namespace