Rect.Empty 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个特殊值,该值表示没有位置或区域的矩形。
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
属性值
空矩形,具有 X 和 Y 属性值 PositiveInfinity,并且具有 Width 和 Height 属性值 NegativeInfinity。
注解
此结构表示 Windows 运行时 (WinRT) Rect结构的.NET投影。 有关详细信息,请参阅 UWP API 参考中的 Rect 。
有关此成员的详细信息,请参阅 <System。Windows。.NET Framework API 参考中的 Rect.Empty?displayProperty=nameWithType>。