Size.Height 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置此 Size 实例的高度。
public:
property double Height { double get(); void set(double value); };
public double Height { get; set; }
member this.Height : double with get, set
Public Property Height As Double
属性值
Height的此实例的 Size,以像素为单位。 默认值为 0。 该值不能为负数。
例外
指定小于 0 的值。
注解
此结构表示 Windows 运行时 (WinRT) Size
结构的 .NET 投影。 有关详细信息,请参阅 UWP API 参考中的 大小 。