共用方式為


CoreWebView2ContextMenuItem.IsEnabled Property

Definition

Gets or sets the enabled property of the CoreWebView2ContextMenuItem. Must only be used in the case of a custom context menu item.

public bool IsEnabled { get; set; }
member this.IsEnabled : bool with get, set
Public Property IsEnabled As Boolean

Property Value

Remarks

The default value for this is true.

Applies to