다음을 통해 공유


CoreWebView2MouseEventKind Enum

Definition

Mouse event type used by SendMouseInput to convey the type of mouse event being sent to WebView. The values of this enum align with the matching WM_* window messages.

public enum CoreWebView2MouseEventKind
type CoreWebView2MouseEventKind = 
Public Enum CoreWebView2MouseEventKind
Inheritance
CoreWebView2MouseEventKind

Fields

Name Value Description
NonClientRightButtonDown 164

Mouse Right Button Down event over a nonclient area, WM_NCRBUTTONDOWN.

NonClientRightButtonUp 165

Mouse Right Button up event over a nonclient area, WM_NCRBUTTONUP.

Move 512

Mouse move event, WM_MOUSEMOVE.

LeftButtonDown 513

Left button down mouse event, WM_LBUTTONDOWN.

LeftButtonUp 514

Left button up mouse event, WM_LBUTTONUP.

LeftButtonDoubleClick 515

Left button double click mouse event, WM_LBUTTONDBLCLK.

RightButtonDown 516

Right button down mouse event, WM_RBUTTONDOWN.

RightButtonUp 517

Right button up mouse event, WM_RBUTTONUP.

RightButtonDoubleClick 518

Right button double click mouse event, WM_RBUTTONDBLCLK.

MiddleButtonDown 519

Middle button down mouse event, WM_MBUTTONDOWN.

MiddleButtonUp 520

Middle button up mouse event, WM_MBUTTONUP.

MiddleButtonDoubleClick 521

Middle button double click mouse event, WM_MBUTTONDBLCLK.

Wheel 522

Mouse wheel scroll event, WM_MOUSEWHEEL.

XButtonDown 523

First or second X button down mouse event, WM_XBUTTONDOWN.

XButtonUp 524

First or second X button up mouse event, WM_XBUTTONUP.

XButtonDoubleClick 525

First or second X button double click mouse event, WM_XBUTTONDBLCLK.

HorizontalWheel 526

Mouse horizontal wheel scroll event, WM_MOUSEHWHEEL.

Leave 675

Mouse leave event, WM_MOUSELEAVE.

Applies to