語言

Int32Rect.Empty 屬性

定義

得到空矩形,這是一個特殊值,代表沒有位置或面積的矩形。

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

屬性值

一個空的矩形,沒有位置或面積。

備註

此特性與對所有參數值使用 0 呼叫建構子相同。

XAML 屬性使用方式

<object property="Empty" />

XAML 值

財產 一個接受某個 Int32Rect 價值的財產。

適用於