共用方式為


CoreWebView2ContextMenuItem.CommandId Property

Definition

Gets the Command ID for the CoreWebView2ContextMenuItem.

public int CommandId { get; }
member this.CommandId : int
Public ReadOnly Property CommandId As Integer

Property Value

Remarks

Use this to report the SelectedCommandId in ContextMenuRequested event.

Applies to