ContentSite.RequestedStateChanged Evento
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Si verifica quando un ContentIsland effettua una nuova richiesta al relativo contentSite associato.
// Register
event_token RequestedStateChanged(TypedEventHandler<ContentSite, ContentSiteRequestedStateChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void RequestedStateChanged(event_token const* cookie) const;
// Revoke with event_revoker
ContentSite::RequestedStateChanged_revoker RequestedStateChanged(auto_revoke_t, TypedEventHandler<ContentSite, ContentSiteRequestedStateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<ContentSite,ContentSiteRequestedStateChangedEventArgs> RequestedStateChanged;
function onRequestedStateChanged(eventArgs) { /* Your code */ }
contentSite.addEventListener("requestedstatechanged", onRequestedStateChanged);
contentSite.removeEventListener("requestedstatechanged", onRequestedStateChanged);
- or -
contentSite.onrequestedstatechanged = onRequestedStateChanged;
Public Custom Event RequestedStateChanged As TypedEventHandler(Of ContentSite, ContentSiteRequestedStateChangedEventArgs)
Tipo evento
Commenti
Il proprietario di ContentSite (DesktopSiteBridge) può esaminare le proprietà locali (ad esempio RequestedSize), decidere i criteri e quindi configurare le informazioni (ad esempio ActualSize) da inviare a ContentIsland.