共用方式為


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"/>

事件類型

適用於