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 結構的 .NET 投影。 如需詳細資訊,請參閱 UWP API 參考中的 Rect

如需此成員的詳細資訊,請參閱 < .NET Framework API 參考中的 System.Windows.Rect.Empty?displayProperty=nameWithType > 。

適用於