DigitalWindowBounds 类

定义

表示 DigitalWindowControl 处于活动状态时捕获的数字窗口的边界。

public ref class DigitalWindowBounds sealed
/// [Windows.Foundation.Metadata.Activatable(786432, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 786432)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DigitalWindowBounds final
[Windows.Foundation.Metadata.Activatable(786432, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 786432)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DigitalWindowBounds
function DigitalWindowBounds()
Public NotInheritable Class DigitalWindowBounds
继承
Object Platform::Object IInspectable DigitalWindowBounds
属性

Windows 要求

设备系列
Windows 10, version 2104 (在 10.0.20348.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v12.0 中引入)

构造函数

DigitalWindowBounds()

创建 DigitalWindowBounds 类的新实例。

属性

NormalizedOriginLeft

获取或设置数字窗口边界左侧的 x 轴值。

NormalizedOriginTop

获取或设置数字窗口边界上侧的 y 轴值。

Scale

获取或设置一个值,该值指定数字窗口边界的比例。

适用于