Compartir a través de


CoreWebView2CompositionController.SendPointerInput Method

Definition

Sends pen or pointer input to the WebView.

public void SendPointerInput (Microsoft.Web.WebView2.Core.CoreWebView2PointerEventKind eventType, Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo pointerInfo);
public void SendPointerInput (Microsoft.Web.WebView2.Core.CoreWebView2PointerEventKind eventKind, Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo pointerInfo);
member this.SendPointerInput : Microsoft.Web.WebView2.Core.CoreWebView2PointerEventKind * Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo -> unit
member this.SendPointerInput : Microsoft.Web.WebView2.Core.CoreWebView2PointerEventKind * Microsoft.Web.WebView2.Core.CoreWebView2PointerInfo -> unit
Public Sub SendPointerInput (eventType As CoreWebView2PointerEventKind, pointerInfo As CoreWebView2PointerInfo)
Public Sub SendPointerInput (eventKind As CoreWebView2PointerEventKind, pointerInfo As CoreWebView2PointerInfo)

Parameters

eventTypeeventKind
CoreWebView2PointerEventKind
pointerInfo
CoreWebView2PointerInfo

The pointer information.

Remarks

Accepts touch or pen pointer input of kinds defined in CoreWebView2PointerEventKind. Any pointer input from the system must be converted into a CoreWebView2PointerInfo first.

Applies to