GridLengthHelper.Equals(GridLength, GridLength) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.