GridLength.IsAuto 屬性

定義

取得值,這個值表示 GridLength 所含值的大小是否由內容物件的大小屬性決定。Gets a value that indicates whether the GridLength holds a value whose size is determined by the size properties of the content object.

public:
 property bool IsAuto { bool get(); };
public bool IsAuto { get; }
member this.IsAuto : bool
Public ReadOnly Property IsAuto As Boolean

屬性值

如果 GridUnitType 屬性是 Auto,則為 true,否則為 falsetrue if the GridUnitType property is Auto; otherwise, false.

備註

這個結構代表 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.

適用於