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

屬性值

空矩形,具有 XY 的性質值,PositiveInfinity且具有 WidthHeight 性質值 。NegativeInfinity

備註

此結構體代表Windows 執行階段(WinRT)Rect struct的.NET投影。 欲了解更多資訊,請參閱 UWP API 參考中的 Rect

欲了解更多關於此成員的資訊,請參見 <System。Windows。Rect.Empty?displayProperty=nameWithType> in the .NET Framework API reference.

適用於