共用方式為


CoreWebView2ContextMenuItemKind Enum

Definition

Specifies the menu item kind for the ICoreWebView2ContextMenuItem::get_Kind method

public enum CoreWebView2ContextMenuItemKind
type CoreWebView2ContextMenuItemKind = 
Public Enum CoreWebView2ContextMenuItemKind
Inheritance
CoreWebView2ContextMenuItemKind

Fields

Name Value Description
Command 0

Specifies a command menu item kind.

CheckBox 1

Specifies a check box menu item kind. ContextMenuItem objects of this kind will need the IsChecked property to determine current state of the check box.

Radio 2

Specifies a radio button menu item kind. ContextMenuItem objects of this kind will need the IsChecked property to determine current state of the radio button.

Separator 3

Specifies a separator menu item kind. ContextMenuItem objects of this kind are used to signal a visual separator with no functionality.

Submenu 4

Specifies a submenu menu item kind. ContextMenuItem objects of this kind will contain a ContextMenuItemCollection of its children ContextMenuItem objects.

Applies to