IWebViewToggleFullscreen EventAwesomium.NET 1.7.6Awesomium.NET
Occurs asynchronously when JavaScript code in the page requests fullscreen mode for a particular element, using WebKit  Fullscreen API.

Namespace: Awesomium.Core
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version: 1.7.6.0
Syntax

event ToggleFullscreenEventHandler ToggleFullscreen

Value

Type: Awesomium.CoreToggleFullscreenEventHandler
Remarks

You should usually handle this event to hide controls and visuals in your view's container that should not be visible in fullscreen mode. Optionally, you can set Handled to true and take care of switching the view's container to fullscreen mode.
Note Note
Awesomium will switch the requesting element to and from fullscreen mode, only after you have resized the view and its container (normally to and from the full size of the screen).
If Handled is set to false (default), a technology-specific WebControl will attempt to access and switch the component's containing window to fullscreen mode for you.

Technology-specific WebControl components also handle the ESCAPE key to force a JavaScript document.webkitExitFullscreen call.

If you have assigned an IWebViewPresenter to the Presenter or Surface property, ToggleFullscreenMode(Boolean) will be called if this event is not handled by an application. WPF presenters used in the visual tree of a WPF WebControl, handle this call to switch the component's containing window to fullscreen mode.

See Also

Reference