ProjectionManager.ProjectionDisplayAvailableChanged | projectiondisplayavailablechanged event

Applies to Windows only

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

Syntax


function onProjectionDisplayAvailableChanged(eventArgs) { /* Your code */ }
 
// addEventListener syntax
projectionManager.addEventListener("projectiondisplayavailablechanged", onProjectionDisplayAvailableChanged);
projectionManager.removeEventListener("projectiondisplayavailablechanged", onProjectionDisplayAvailableChanged);
 
- or -

projectionManager.onprojectiondisplayavailablechanged = onProjectionDisplayAvailableChanged;


Event information

DelegateEventHandler [JavaScript] | System.EventHandler<Object> [.NET] | Windows.Foundation.EventHandler<Object> [C++]

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.UI.ViewManagement
Windows::UI::ViewManagement [C++]

Metadata

Windows.winmd

See also

ProjectionManager

 

 

Show:
© 2014 Microsoft