WebView.ContainsFullScreenElementChanged 事件

定义

WebView 当前是否包含全屏元素的状态发生更改时发生。

// Register
event_token ContainsFullScreenElementChanged(TypedEventHandler<WebView, IInspectable const&> const& handler) const;

// Revoke with event_token
void ContainsFullScreenElementChanged(event_token const* cookie) const;

// Revoke with event_revoker
WebView::ContainsFullScreenElementChanged_revoker ContainsFullScreenElementChanged(auto_revoke_t, TypedEventHandler<WebView, IInspectable const&> const& handler) const;
public event TypedEventHandler<WebView,object> ContainsFullScreenElementChanged;
function onContainsFullScreenElementChanged(eventArgs) { /* Your code */ }
webView.addEventListener("containsfullscreenelementchanged", onContainsFullScreenElementChanged);
webView.removeEventListener("containsfullscreenelementchanged", onContainsFullScreenElementChanged);
- or -
webView.oncontainsfullscreenelementchanged = onContainsFullScreenElementChanged;
Public Custom Event ContainsFullScreenElementChanged As TypedEventHandler(Of WebView, Object) 
<WebView ContainsFullScreenElementChanged="eventhandler"/>

事件类型

适用于