CoreWebView2NonClientRegionKind Enum
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 enum contains values representing possible regions a given point lies within. The values of this enum align with the matching WM_NCHITTEST* window message return values.
public enum CoreWebView2NonClientRegionKind
type CoreWebView2NonClientRegionKind =
Public Enum CoreWebView2NonClientRegionKind
- Inheritance
-
CoreWebView2NonClientRegionKind
Fields
Name | Value | Description |
---|---|---|
Nowhere | 0 | A hit test region out of bounds of the WebView2. This has the same value as the Win32 HTNOWHERE |
Client | 1 | A hit test region in the WebView2 which does not have the CSS style
|
Caption | 2 | A hit test region in the WebView2 which has the CSS style
|
Minimize | 8 | A hit test region in the Webview2 which corresponds to the minimize window control button. |
Maximize | 9 | A hit test region in the Webview2 which corresponds to the maximize window control button. |
Close | 20 | A hit test region in the Webview2 which corresponds to the close window control button. |