CoreWebView2ContextMenuTargetKind Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates the kind of context for which the context menu was created
for the ICoreWebView2ContextMenuTarget::get_Kind
method.
This enum will always represent the active element that caused the context menu request.
If there is a selection with multiple images, audio and text, for example, the element that
the end user right clicks on within this selection will be the option represented by this enum.
public enum CoreWebView2ContextMenuTargetKind
type CoreWebView2ContextMenuTargetKind =
Public Enum CoreWebView2ContextMenuTargetKind
- Inheritance
-
CoreWebView2ContextMenuTargetKind
Fields
Name | Value | Description |
---|---|---|
Page | 0 | Indicates that the context menu was created for the page without any additional content. |
Image | 1 | Indicates that the context menu was created for an image element. |
SelectedText | 2 | Indicates that the context menu was created for selected text. |
Audio | 3 | Indicates that the context menu was created for an audio element. |
Video | 4 | Indicates that the context menu was created for a video element. |