次の方法で共有


CoreWebView2NonClientRegionKind Enum

Definition

This enum contains values representing possible regions a given point lies within

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 -webkit-app-region: drag set. This is normal web content that should not be considered part of the app window's title bar. This has the same value as the Win32 HTCLIENT constant.

Caption 2

A hit test region in the WebView2 which has the CSS style -webkit-app-region: drag set. Web content should use this CSS style to identify regions that should be treated like the app window's title bar. This has the same value as the Win32 HTCAPTION constant.

Applies to