Aplicativos do Windows

ProjectionManager class

Defines a set of methods for managing the windows (app views) sent to secondary displays, such as projectors.

Syntax


var projectionManager = Windows.UI.ViewManagement.ProjectionManager;

Members

The ProjectionManager class has these types of members:

Events

The ProjectionManager class has these events.

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

 

Methods

The ProjectionManager class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
GetDeviceSelector Returns a string that is used to enumerate device services.
RequestStartProjectingAsync(Int32,Int32,Rect) Makes a request to asynchronously sends a window (app view) to the projector or other secondary display.
RequestStartProjectingAsync(Int32,Int32,Rect,Placement) Makes a request to asynchronously sends a window (app view) to the projector or other secondary display with the specified preferred placement.
StartProjectingAsync(Int32,Int32) Asynchronously sends a window (app view) to the projector or other secondary display.
StartProjectingAsync(Int32,Int32,DeviceInformation) Asynchronously sends a window (app view) to the projector or other secondary display, and provides info about the display.
StopProjectingAsync Asynchronously hides a window (app view) displayed by a projector or other secondary display.
SwapDisplaysForViewsAsync Asynchronously swaps the calling window (app view) with the window displayed on the projector or other secondary display.

 

Properties

The ProjectionManager class has these properties.

PropertyAccess typeDescription

ProjectionDisplayAvailable

Read-onlyGets whether or not a projection display is available to use.

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

 

 

Mostrar:
© 2016 Microsoft