CoreWebView2CompositionController Class
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.
This class is an extension of the CoreWebView2Controller class to support visual hosting.
public class CoreWebView2CompositionController
type CoreWebView2CompositionController = class
Public Class CoreWebView2CompositionController
- Inheritance
-
CoreWebView2CompositionController
Properties
Cursor |
Gets the current cursor that WebView thinks it should be. |
RootVisualTarget |
Gets or sets the root visual in the hosting app's visual tree. |
SystemCursorId |
Gets the current system cursor ID reported by the underlying rendering engine for WebView. |
UIAProvider |
Gets the UI Automation Provider for the WebView. |
Methods
CreateCoreWebView2PointerInfoFromPointerId(UInt32, IntPtr, Matrix4x4) |
Converts a |
DragLeave() |
Call this method to inform the CoreWebView2CompositionController that a drag operation has left the WebView. |
DragOver(UInt32, Point) |
The drag operation is over the WebView. |
GetNonClientRegionAtPoint(Point) |
Call this method to perform hit-testing inside of your message loop when the message is WM_NCHITTEST. |
QueryNonClientRegion(CoreWebView2NonClientRegionKind) |
This method retrieves the non-client regions on the page which corresponds to a given kind CoreWebView2NonClientRegionKind. |
SendMouseInput(CoreWebView2MouseEventKind, CoreWebView2MouseEventVirtualKeys, UInt32, Point) |
Sends mouse input to the WebView. |
SendPointerInput(CoreWebView2PointerEventKind, CoreWebView2PointerInfo) |
Sends pen or pointer input to the WebView. |
Events
CursorChanged |
The event is raised when WebView thinks the cursor should be changed. |
NonClientRegionChanged |
This event is raised when elements on the page with "app-region" CSS property values corresponding to non-client regions change. Use the RegionKind to see the kind of non-client region that changed. |