CompactOverlayPresenter 类

定义

使用 CompactOverlay (画中画) 配置显示应用窗口。

public ref class CompactOverlayPresenter sealed : AppWindowPresenter
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CompactOverlayPresenter final : AppWindowPresenter
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CompactOverlayPresenter : AppWindowPresenter
Public NotInheritable Class CompactOverlayPresenter
Inherits AppWindowPresenter
继承
Object Platform::Object IInspectable AppWindowPresenter CompactOverlayPresenter
属性

属性

InitialSize

在 CompactOverlay 模式下显示时,设置窗口的初始大小。

Kind

获取一个值,该值指示应用窗口正在使用的演示者类型。

(继承自 AppWindowPresenter)

方法

Create()

创建 CompactOverlayPresenter 的新实例。

适用于