ICoreWebView2.add_ContainsFullScreenElementChanged

Add an event handler for the ContainsFullScreenElementChanged event. ContainsFullScreenElementChanged triggers when the ContainsFullScreenElement property changes. An HTML element inside the WebView may enter fullscreen to the size of the WebView or leave fullscreen. This event is useful when, for example, a video element requests to go fullscreen. The listener of ContainsFullScreenElementChanged may resize the WebView in response.

\snippet AppWindow.cpp ContainsFullScreenElementChanged

interface ICoreWebView2
HRESULT
add_ContainsFullScreenElementChanged

Meta