DisplayView 类

定义

表示一组以逻辑方式克隆的 DisplayPath 对象。

public ref class DisplayView sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DisplayView final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DisplayView
Public NotInheritable Class DisplayView
继承
Object IInspectable DisplayView
属性

Windows 要求

设备系列
Windows 10, version 1809 (在 10.0.17763.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v7.0 中引入)

属性

ContentResolution

此组克隆的 DisplayPath 对象的逻辑内容解析。 对于硬件克隆中的 DisplayView ,此值与每个路径的 SourceResolution 属性相同。

Paths

获取组成此 DisplayView 的路径集。

Properties

保留供将来使用。

方法

SetPrimaryPath(DisplayPath)

将此视图中的路径设置为视图中的“主克隆路径”,这会导致克隆-不知道应用默认查看此路径的刷新速率和目标属性。

适用于