The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Rect.IsEmpty Property


Gets a value that indicates whether the rectangle is the Empty rectangle.

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

public bool IsEmpty { get; }

Property Value

Type: System.Boolean

true if the rectangle is the Empty rectangle; otherwise, false.

Do not use this property to test for zero area; a rectangle with zero area is not necessarily the Empty rectangle. For more information, see the Empty property.

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2015 Microsoft