GridLength.Auto 屬性

定義

取得 GridLength 的執行個體,這個執行個體所含值的大小是由內容物件的大小屬性決定。Gets an instance of GridLength that holds a value whose size is determined by the size properties of the content object.

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

屬性值

的實例GridLength , 其GridUnitType屬性設定為。 AutoAn instance of GridLength whose GridUnitType property is set to Auto.

備註

這個結構代表 Windows 執行階段 (WinRT) GridLength結構的 .net 投射。This struct represents the .NET projection of the Windows Runtime (WinRT) GridLength struct. 如需詳細資訊, 請參閱 UWP API 參考中的GridLengthFor more information, see GridLength in the UWP API reference.

適用於