Rectangle.IsEmpty Property

Gets a value that indicates whether the rectangle is empty.

Namespace:  Microsoft.Xna.Framework
Assembly:  Microsoft.Xna.Framework (in Microsoft.Xna.Framework.dll)

public bool IsEmpty { get; }

Property Value

Type: System.Boolean
true if the rectangle is empty; otherwise, false.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: