共用方式為


CoreWebView2ContextMenuItem.ShortcutKeyDescription Property

Definition

Gets the localized keyboard shortcut for this CoreWebView2ContextMenuItem.

public string ShortcutKeyDescription { get; }
member this.ShortcutKeyDescription : string
Public ReadOnly Property ShortcutKeyDescription As String

Property Value

Remarks

It will be the empty string if there is no keyboard shortcut. This is text intended to be displayed to the end user to show the keyboard shortcut. For example this property is Ctrl+Shift+I for the "Inspect" CoreWebView2ContextMenuItem.

Applies to