Back to Devexpress

RichEditControl.GetShortcutKey(RichEditCommandId, RichEditViewType) Method

wpf-devexpress-dot-xpf-dot-richedit-dot-richeditcontrol-dot-getshortcutkey-x28-devexpress-dot-xtrarichedit-dot-commands-dot-richeditcommandid-devexpress-dot-xtrarichedit-dot-richeditviewtype-x29.md

latest2.0 KB
Original Source

RichEditControl.GetShortcutKey(RichEditCommandId, RichEditViewType) Method

Gets the shortcut key for the specified command.

Namespace : DevExpress.Xpf.RichEdit

Assembly : DevExpress.Xpf.RichEdit.v25.2.dll

NuGet Package : DevExpress.Wpf.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.Xpf.RichEdit Namespace