Udostępnij za pośrednictwem


ContentSite.RequestedStateChanged Event

Definition

Occurs when a ContentIsland makes a new request to its associated ContentSite.

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

Event Type

Remarks

The ContentSite owner (DesktopSiteBridge) can examine local properties (such as RequestedSize), decide policy, and then configure information (such as ActualSize) to send to the ContentIsland.

Applies to