GridLength.IsAbsolute 屬性

定義

取得值,這個值指出 GridLength 是否包含以像素表示的值。Gets a value that indicates whether the GridLength holds a value that is expressed in pixels.

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

屬性值

如果 GridUnitType 屬性是 Pixel,則為 true,否則為 falsetrue if the GridUnitType property is Pixel; 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.

適用於