Rect.Empty 属性
定义
获取一个特殊值,该值表示没有位置或区域的矩形。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; }
member this.Empty : Windows.Foundation.Rect
Public Shared ReadOnly Property Empty As Rect
属性值
空矩形,其 X 和 Y 属性值为 PositiveInfinity,Width 和 Height 属性值为 NegativeInfinity。The empty rectangle, which has X and Y property values of PositiveInfinity, and has Width and Height property values of NegativeInfinity.
注解
此结构表示 Windows 运行时 (WinRT) 结构的 .NET 投影 Rect 。This struct represents the .NET projection of the Windows Runtime (WinRT) Rect struct. 有关详细信息,请参阅 UWP API 参考中的 Rect 。For more information, see Rect in the UWP API reference.
有关此成员的详细信息,请参阅 .NET Framework API 参考中的 <>? displayProperty = Namewithtype>。For more information about this member, see <System.Windows.Rect.Empty?displayProperty=nameWithType> in the .NET Framework API reference.