Partilhar via


CoreWebView2ContextMenuItem.Name Property

Definition

Gets the unlocalized name for the CoreWebView2ContextMenuItem.

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

Property Value

Remarks

Use this to distinguish between context menu item types. This will be the English label of the menu item in lower camel case. For example, the "Save as" menu item will be "saveAs". Extension menu items will be "extension", custom menu items will be "custom" and spellcheck items will be "spellCheck". Some example context menu item names are:

- "saveAs" - "copyImage" - "openLinkInNewWindow"

Applies to