RectHelper.Empty Property

Definition

Gets a static Rect value where the Rect has no size or position. C# and Microsoft Visual Basic code should use Rect.Empty instead.

public:
 static property Rect Empty { Rect get(); };
static Rect Empty();
public static Rect Empty { get; }
var rect = RectHelper.empty;
Public Shared ReadOnly Property Empty As Rect

Property Value

A Rect with X and Y set to positive infinity, and Width and Height set to negative infinity.

Applies to