Contents - Index - Top


OnWindowCloseRequested

Interface AntView 

 

Type: Event

Parameters: none

 

 

This event is triggered when the content in the document tries to close the window.

You can for example trigger this with a javascript window.close()

You can control if the WebView should close or not with the WindowClosedRequestEnabled property.

This property can be changed during the event.

 

In the Microsoft .net interface this is called the CoreWebView2.WindowClose event.

 


AntView - The MS Edge WebView2 ActiveX control Date last changed: 09/25/2024