語言

Rect.IsEmpty 屬性

定義

會得到一個值,表示該矩形是否為該矩形。Empty

public:
 property bool IsEmpty { bool get(); };
public bool IsEmpty { get; }
member this.IsEmpty : bool
Public ReadOnly Property IsEmpty As Boolean

屬性值

true 若矩形為矩 Empty 形;否則, false。

備註

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

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

適用於