Rect.IsEmpty 属性

定义

获取一个值,该值指示矩形是否为 Empty 矩形。

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

属性值

Boolean

如果矩形为 Empty 矩形,则为 true;否则为 false

注解

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

有关此成员的详细信息,请参阅 .NET Framework API 参考中的 <IsEmpty? displayProperty = Namewithtype>>。

适用于