GridLength.IsAuto 属性

定义

获取一个值,该值指示 GridLength 是否包含大小由内容对象的大小属性确定的值。

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

属性值

Boolean

如果 GridUnitType 属性为 Auto,则为 true;否则为 false

注解

此结构表示 Windows Runtime (WinRT) 的 .NET GridLength 投影。 有关详细信息,请参阅 UWP API参考中的 GridLength。

适用于