Share via


CoreWebView2.ContainsFullScreenElementChanged Event

Definition

ContainsFullScreenElementChanged is raised when the ContainsFullScreenElement property changes.

public event EventHandler<object> ContainsFullScreenElementChanged;

Event Type

Remarks

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 this event may resize the WebView in response.

Applies to

See also