Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Rect.Empty Property

Definition

Namespace:
Windows.Foundation
Assembly:
System.Runtime.WindowsRuntime.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets a special value that represents a rectangle with no position or area.

public:
 static property Windows::Foundation::Rect Empty { Windows::Foundation::Rect get(); };
public static Windows.Foundation.Rect Empty { get; }
static member Empty : Windows.Foundation.Rect
Public Shared ReadOnly Property Empty As Rect

Property Value

The empty rectangle, which has X and Y property values of PositiveInfinity, and has Width and Height property values of NegativeInfinity.

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.Empty?displayProperty=nameWithType> in the .NET Framework API reference.

Applies to


Feedback

Was this page helpful?