GridLengthHelper.GetIsStar(GridLength) 方法

定义

返回计算的 GridLength 是否为特殊“*” (star 调整大小) 值。 C# 和 Microsoft Visual Basic 代码应改用 GridLength.IsStar

public:
 static bool GetIsStar(GridLength target);
 static bool GetIsStar(GridLength const& target);
public static bool GetIsStar(GridLength target);
function getIsStar(target)
Public Shared Function GetIsStar (target As GridLength) As Boolean

参数

target
GridLength

要计算的 GridLength

返回

Boolean

bool

如果计算的 GridLength 是特殊“*” (star 调整大小) 值,则为 true;否则为 false

适用于