ProjectionManager Class

Definition

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

public ref class ProjectionManager abstract sealed
class ProjectionManager abstract sealed
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Static(typeof(Windows.UI.ViewManagement.IProjectionManagerStatics), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Static(typeof(Windows.UI.ViewManagement.IProjectionManagerStatics2), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class ProjectionManager
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Static(typeof(Windows.UI.ViewManagement.IProjectionManagerStatics2), 65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Static(typeof(Windows.UI.ViewManagement.IProjectionManagerStatics), 65536, "Windows.Foundation.UniversalApiContract")]
public static class ProjectionManager
Public Class ProjectionManager
Inheritance
ProjectionManager
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

ProjectionDisplayAvailable

Gets whether or not a projection display is available to use.

Methods

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(Int32, Int32)

Asynchronously hides a window (app view) displayed by a projector or other secondary display.

SwapDisplaysForViewsAsync(Int32, Int32)

Asynchronously swaps the calling window (app view) with the window displayed on the projector or other secondary display. The result is that the calling window is displayed on the projector, and the formerly projected window is displayed on the device screen.

Events

ProjectionDisplayAvailableChanged

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

Applies to

See also