Share via


GridLengthHelper.Equals(GridLength, GridLength) Method

Definition

Provides comparison of the values of two GridLength values. C# and Microsoft Visual Basic code should use the Equality operator or GridLength.Equals method instead.

public:
 static bool Equals(GridLength target, GridLength value);
 static bool Equals(GridLength const& target, GridLength const& value);
public static bool Equals(GridLength target, GridLength value);
function equals(target, value)
Public Shared Function Equals (target As GridLength, value As GridLength) As Boolean

Parameters

target
GridLength

The first GridLength to compare.

value
GridLength

The second GridLength to compare.

Returns

Boolean

bool

true if the two GridLength values hold equivalent values as their structure value information; otherwise, false.

Applies to

See also