DevToolsEnabled
Interface AntView
Type: Property
Access: Read/Write
Data Type: Boolean
Use this to enable or disable the developer tools window for the user via either shortcut keys or the context menu.
If the DevToolsEnabled property is enabled then you can invoke the developer tools window via the shortcut key F12 or via the "Inspect" option on the context menu.
Setting the DevTools Enabled property to false removes the "Inspect" option from the context menu and disables F12 as shortcut menu. Note that you can also disable browser shortcut keys via the BrowserAcceleratorKeysEnabled property.
The default for the DevToolsEnabled property is true.
Changes made to this property are not effective until after the next navigation.
In the .net interface this is the CoreWebView2Settings.AreDevToolsEnabled property.
AntView - The MS Edge WebView2 ActiveX control Date last changed: 2026/07/13