共用方式為


interface ICoreWebView2NonClientRegionChangedEventArgs

interface ICoreWebView2NonClientRegionChangedEventArgs
  : public IUnknown

This is the Interface for non-client region change event args.

Summary

Members Descriptions
get_RegionKind This property represents the COREWEBVIEW2_NON_CLIENT_REGION_KIND which the region changed event corresponds to.

Applies to

Product Introduced
WebView2 Win32 1.0.2420.47
WebView2 Win32 Prerelease 1.0.2415

Members

get_RegionKind

This property represents the COREWEBVIEW2_NON_CLIENT_REGION_KIND which the region changed event corresponds to.

public HRESULT get_RegionKind(COREWEBVIEW2_NON_CLIENT_REGION_KIND * value)

With this property an app can query for a collection of rects which have that region kind by using QueryNonClientRegion on the composition controller.