語言

GridLength.Auto 屬性

定義

會得到一個 的 GridLength 實例,該值的大小由內容物件的大小屬性決定。

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

屬性值

一個屬性GridLength設定為 GridUnitType的實例Auto。

適用於

另請參閱