共用方式為


CoreWebView2KeyEventKind Enum

Definition

Specifies the key event type that triggered an AcceleratorKeyPressed event.

public enum CoreWebView2KeyEventKind
type CoreWebView2KeyEventKind = 
Public Enum CoreWebView2KeyEventKind
Inheritance
CoreWebView2KeyEventKind

Fields

Name Value Description
KeyDown 0

Specifies that the key event type corresponds to window message WM_KEYDOWN.

KeyUp 1

Specifies that the key event type corresponds to window message WM_KEYUP.

SystemKeyDown 2

Specifies that the key event type corresponds to window message WM_SYSKEYDOWN.

SystemKeyUp 3

Specifies that the key event type corresponds to window message WM_SYSKEYUP.

Applies to