Rect.IsEmpty Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the rectangle is the Empty rectangle.
public:
property bool IsEmpty { bool get(); };
public bool IsEmpty { get; }
member this.IsEmpty : bool
Public ReadOnly Property IsEmpty As Boolean
Property Value
true
if the rectangle is the Empty rectangle; otherwise, false
.
Remarks
This struct represents the .NET projection of the Windows Runtime (WinRT) Rect
struct. For more information, see Rect in the UWP API reference.
For more information about this member, see <System.Windows.Rect.IsEmpty?displayProperty=nameWithType> in the .NET Framework API reference.