共用方式為


CoreWebView2ContextMenuItem.Children Property

Definition

Gets the list of children menu items if the kind is @CoreWebView2ContextMenuItemKind$.Submenu. If the kind is not @CoreWebView2ContextMenuItemKind$.Submenu, will return null.

public System.Collections.Generic.IList<Microsoft.Web.WebView2.Core.CoreWebView2ContextMenuItem> Children { get; }
member this.Children : System.Collections.Generic.IList<Microsoft.Web.WebView2.Core.CoreWebView2ContextMenuItem>
Public ReadOnly Property Children As IList(Of CoreWebView2ContextMenuItem)

Property Value

Remarks

If the kind is not Submenu, will return null.

Applies to