GridLength.IsAbsolute 属性

定义

获取一个值,该值指示 GridLength 是否包含以像素表示的值。

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

属性值

Boolean

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

注解

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

适用于