Table of Contents

Class CoreWebView2PointerInfo

Namespace
Microsoft.Web.WebView2.Core
Assembly
Microsoft.Web.WebView2.Core.dll

This mostly represents a combined win32 POINTER_INFO, POINTER_TOUCH_INFO, and POINTER_PEN_INFO object.

public class CoreWebView2PointerInfo
Inheritance
CoreWebView2PointerInfo
Inherited Members

Properties

ButtonChangeKind

Gets or sets the ButtonChangeKind of the pointer event.

public int ButtonChangeKind { get; set; }

Property Value

int

Remarks

This corresponds to the ButtonChangeKind property of the POINTER_INFO struct. The values are defined by the POINTER_BUTTON_CHANGE_KIND enum in the Windows SDK (winuser.h).

DisplayRect

Gets or sets the DisplayRect of the sourceDevice property of the POINTER_INFO struct as defined in the Windows SDK (winuser.h).

public Rectangle DisplayRect { get; set; }

Property Value

Rectangle

FrameId

Gets or sets the FrameID of the pointer event.

public uint FrameId { get; set; }

Property Value

uint

Remarks

This corresponds to the frameId property of the POINTER_INFO struct as defined in the Windows SDK (winuser.h).

HimetricLocation

Gets or sets the HimetricLocation of the pointer event.

public Point HimetricLocation { get; set; }

Property Value

Point

Remarks

This corresponds to the ptHimetricLocation property of the POINTER_INFO struct as defined in the Windows SDK (winuser.h).

HimetricLocationRaw

Gets or sets the HimetricLocationRaw of the pointer event.

public Point HimetricLocationRaw { get; set; }

Property Value

Point

Remarks

This corresponds to the ptHimetricLocationRaw property of the POINTER_INFO struct as defined in the Windows SDK (winuser.h).

HistoryCount

Gets or sets the HistoryCount of the pointer event.

public uint HistoryCount { get; set; }

Property Value

uint

Remarks

This corresponds to the historyCount property of the POINTER_INFO struct as defined in the Windows SDK (winuser.h).

InputData

Gets or sets the InputData of the pointer event.

public int InputData { get; set; }

Property Value

int

Remarks

This corresponds to the InputData property of the POINTER_INFO struct as defined in the Windows SDK (winuser.h).

KeyStates

Gets or sets the KeyStates of the pointer event.

public uint KeyStates { get; set; }

Property Value

uint

Remarks

This corresponds to the dwKeyStates property of the POINTER_INFO struct as defined in the Windows SDK (winuser.h).

PenFlags

Gets or sets the PenFlags of the pointer event.

public uint PenFlags { get; set; }

Property Value

uint

Remarks

This corresponds to the penFlags property of the POINTER_PEN_INFO struct. The values are defined by the PEN_FLAGS constants in the Windows SDK (winuser.h).

PenMask

Gets or sets the PenMask of the pointer event.

public uint PenMask { get; set; }

Property Value

uint

Remarks

This corresponds to the penMask property of the POINTER_PEN_INFO struct. The values are defined by the PEN_MASK constants in the Windows SDK (winuser.h).

PenPressure

Gets or sets the PenPressure of the pointer event.

public uint PenPressure { get; set; }

Property Value

uint

Remarks

This corresponds to the pressure property of the POINTER_PEN_INFO struct as defined in the Windows SDK (winuser.h).

PenRotation

Gets or sets the PenRotation of the pointer event.

public uint PenRotation { get; set; }

Property Value

uint

Remarks

This corresponds to the rotation property of the POINTER_PEN_INFO struct as defined in the Windows SDK (winuser.h).

PenTiltX

Gets or sets the PenTiltX of the pointer event.

public int PenTiltX { get; set; }

Property Value

int

Remarks

This corresponds to the tiltX property of the POINTER_PEN_INFO struct as defined in the Windows SDK (winuser.h).

PenTiltY

Gets or sets the PenTiltY of the pointer event.

public int PenTiltY { get; set; }

Property Value

int

Remarks

This corresponds to the tiltY property of the POINTER_PEN_INFO struct as defined in the Windows SDK (winuser.h).

PerformanceCount

Gets or sets the PerformanceCount of the pointer event.

public ulong PerformanceCount { get; set; }

Property Value

ulong

Remarks

This corresponds to the PerformanceCount property of the POINTER_INFO struct as defined in the Windows SDK (winuser.h).

PixelLocation

Gets or sets the PixelLocation of the pointer event.

public Point PixelLocation { get; set; }

Property Value

Point

Remarks

This corresponds to the ptPixelLocation property of the POINTER_INFO struct as defined in the Windows SDK (winuser.h).

PixelLocationRaw

Gets or sets the PixelLocationRaw of the pointer event.

public Point PixelLocationRaw { get; set; }

Property Value

Point

Remarks

This corresponds to the ptPixelLocationRaw property of the POINTER_INFO struct as defined in the Windows SDK (winuser.h).

PointerDeviceRect

Gets or sets the PointerDeviceRect of the sourceDevice property of the POINTER_INFO struct as defined in the Windows SDK (winuser.h).

public Rectangle PointerDeviceRect { get; set; }

Property Value

Rectangle

PointerFlags

Gets or sets the PointerFlags of the pointer event.

public uint PointerFlags { get; set; }

Property Value

uint

Remarks

This corresponds to the pointerFlags property of the POINTER_INFO struct. The values are defined by the POINTER_FLAGS constants in the Windows SDK (winuser.h).

PointerId

Gets or sets the PointerId of the pointer event.

public uint PointerId { get; set; }

Property Value

uint

Remarks

This corresponds to the pointerId property of the POINTER_INFO struct as defined in the Windows SDK (winuser.h).

PointerKind

Gets or sets the PointerKind of the pointer event.

public uint PointerKind { get; set; }

Property Value

uint

Remarks

This corresponds to the pointerKind property of the POINTER_INFO struct. The values are defined by the POINTER_INPUT_KIND enum in the Windows SDK (winuser.h). Supports PT_PEN and PT_TOUCH.

Time

Gets or sets the Time of the pointer event.

public uint Time { get; set; }

Property Value

uint

Remarks

This corresponds to the dwTime property of the POINTER_INFO struct as defined in the Windows SDK (winuser.h).

TouchContact

Gets or sets the TouchContact of the pointer event.

public Rectangle TouchContact { get; set; }

Property Value

Rectangle

Remarks

This corresponds to the rcContact property of the POINTER_TOUCH_INFO struct as defined in the Windows SDK (winuser.h).

TouchContactRaw

Gets or sets the TouchContactRaw of the pointer event.

public Rectangle TouchContactRaw { get; set; }

Property Value

Rectangle

Remarks

This corresponds to the rcContactRaw property of the POINTER_TOUCH_INFO struct as defined in the Windows SDK (winuser.h).

TouchFlags

Gets or sets the TouchFlags of the pointer event.

public uint TouchFlags { get; set; }

Property Value

uint

Remarks

This corresponds to the touchFlags property of the POINTER_TOUCH_INFO struct. The values are defined by the TOUCH_FLAGS constants in the Windows SDK (winuser.h).

TouchMask

Gets or sets the TouchMask of the pointer event.

public uint TouchMask { get; set; }

Property Value

uint

Remarks

This corresponds to the touchMask property of the POINTER_TOUCH_INFO struct. The values are defined by the TOUCH_MASK constants in the Windows SDK (winuser.h).

TouchOrientation

Gets or sets the TouchOrientation of the pointer event.

public uint TouchOrientation { get; set; }

Property Value

uint

Remarks

This corresponds to the orientation property of the POINTER_TOUCH_INFO struct as defined in the Windows SDK (winuser.h).

TouchPressure

Gets or sets the TouchPressure of the pointer event.

public uint TouchPressure { get; set; }

Property Value

uint

Remarks

This corresponds to the pressure property of the POINTER_TOUCH_INFO struct as defined in the Windows SDK (winuser.h).