ProjectionManager.ProjectionDisplayAvailableChanged ProjectionManager.ProjectionDisplayAvailableChanged ProjectionManager.ProjectionDisplayAvailableChanged ProjectionManager.ProjectionDisplayAvailableChanged ProjectionManager.ProjectionDisplayAvailableChanged Event

Definition

Occurs when a projector or other secondary display becomes available or unavailable.

public : event EventHandler<Platform::Object> ProjectionDisplayAvailableChanged
// Register
event_token ProjectionDisplayAvailableChanged(EventHandler<Platform::Object> const& handler) const;

// Revoke with event_token
void ProjectionDisplayAvailableChanged(event_token const& cookie) const;

// Revoke with event_revoker
ProjectionDisplayAvailableChanged_revoker ProjectionDisplayAvailableChanged(auto_revoke_t, EventHandler<Platform::Object> const& handler) const;
public event EventHandler<object> ProjectionDisplayAvailableChanged
Public Event ProjectionDisplayAvailableChanged As EventHandler (Of object)
function onProjectionDisplayAvailableChanged(eventArgs){/* Your code */}


projectionManager.addEventListener("projectiondisplayavailablechanged", onProjectionDisplayAvailableChanged);
projectionManager.removeEventListener("projectiondisplayavailablechanged", onProjectionDisplayAvailableChanged);