Dela via


AppWindowPresenter Class

Definition

Displays an app window using a pre-defined configuration appropriate for the device it's shown on.

public ref class AppWindowPresenter sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AppWindowPresenter final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AppWindowPresenter
Public NotInheritable Class AppWindowPresenter
Inheritance
Object Platform::Object IInspectable AppWindowPresenter
Attributes

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Methods

GetConfiguration()

Gets the configuration info for the app window presenter.

IsPresentationSupported(AppWindowPresentationKind)

Gets a value that indicates whether the kind of presentation is supported.

RequestPresentation(AppWindowPresentationConfiguration)

Makes a request to show the window using the specified presentation configuration.

RequestPresentation(AppWindowPresentationKind)

Makes a request to show the window using the specified kind of presentation.

Applies to