GridLength.IsStar 属性

定义

获取一个值,该值指示 GridLength 是否包含以可用空间的加权比例表示的值。

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

属性值

Boolean

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

注解

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

适用于