Rect.Empty 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會得到一個特殊值,代表一個沒有位置或面積的矩形。
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 struct的.NET投影。 欲了解更多資訊,請參閱 UWP API 參考中的 Rect 。
欲了解更多關於此成員的資訊,請參見 <System。Windows。Rect.Empty?displayProperty=nameWithType> in the .NET Framework API reference.