Share via


GridLengthHelper.GetIsStar(GridLength) Method

Definition

Returns whether the evaluated GridLength is the special "*" (star sizing) value. C# and Microsoft Visual Basic code should use GridLength.IsStar instead.

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

Parameters

target
GridLength

The GridLength to evaluate.

Returns

Boolean

bool

true if the evaluated GridLength is the special "*" (star sizing) value; otherwise, false.

Applies to