แก้ไข

แชร์ผ่าน


Rect.Empty Property

Definition

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