GridLength.Equality Operator
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Compares two GridLength structures for equality.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- gl1
- Type: System.Windows.GridLength
The first instance of GridLength to compare.
- gl2
- Type: System.Windows.GridLength
The second instance of GridLength to compare.
Return Value
Type: System.Booleantrue if the two instances of GridLength have the same value and GridUnitType; otherwise, false.
Show: