Edit

Share via


Rect.IsEmpty Property

Definition

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.

Applies to