Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft