Поделиться через


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

Тип события

Применяется к