WindowClosedRequestEnabled
Interface AntView
Type: Property
Access: Read/Write
Data Type: Boolean
If Enabled then a javascript window.close request will close the current WebView.
The default is true.
Note that before the webview is closed the OnWindowClosedRequested event is triggered.
If you set this property to false during that event than the close will be prevented.
AntView - The MS Edge WebView2 ActiveX control Date last changed: 09/25/2024