Method Equals
Equals(object)
Compares this instance of GridLength with another object.
public override bool Equals(object oCompare)
Parameters
oCompare
objectReference to an object for comparison.
Returns
- bool
true
if this GridLength instance has the same value and unit type as oCompare.
Equals(GridLength)
Compares this instance of GridLength with another instance.
public bool Equals(GridLength gridLength)
Parameters
gridLength
GridLengthGrid length instance to compare.
Returns
- bool
true
if this GridLength instance has the same value and unit type as gridLength.