AppWindowPresenter 類別

定義

使用適合其顯示裝置的預先定義組態來顯示應用程式視窗。

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
繼承
Object Platform::Object IInspectable AppWindowPresenter
屬性

Windows 需求

裝置系列
Windows 10, version 1903 (已於 10.0.18362.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v8.0 引進)

方法

GetConfiguration()

取得應用程式視窗簡報者的組態資訊。

IsPresentationSupported(AppWindowPresentationKind)

取得值,這個值表示是否支援簡報的類型。

RequestPresentation(AppWindowPresentationConfiguration)

要求使用指定的簡報組態來顯示視窗。

RequestPresentation(AppWindowPresentationKind)

要求使用指定的簡報類型來顯示視窗。

適用於