Share via


GridLengthHelper.GetIsAuto(GridLength) Method

Definition

Returns whether the evaluated GridLength is the special "Auto" value. C# and Microsoft Visual Basic code should use GridLength.IsAuto instead.

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

Parameters

target
GridLength

The GridLength to evaluate.

Returns

Boolean

bool

true if the evaluated GridLength is the special "Auto" value; otherwise, false.

Applies to