语言

Rect.Empty 属性

定义

获取一个特殊值,该值表示没有位置或区域的矩形。

public:
 static property Windows::Foundation::Rect Empty { Windows::Foundation::Rect get(); };
public static Windows.Foundation.Rect Empty { get; }
static member Empty : Windows.Foundation.Rect
Public Shared ReadOnly Property Empty As Rect

属性值

空矩形,具有 X 和 Y 属性值 PositiveInfinity,并且具有 Width 和 Height 属性值 NegativeInfinity。

注解

此结构表示 Windows 运行时 (WinRT) Rect结构的.NET投影。 有关详细信息,请参阅 UWP API 参考中的 Rect 。

有关此成员的详细信息,请参阅 <System。Windows。.NET Framework API 参考中的 Rect.Empty?displayProperty=nameWithType>。

适用于