GridLength.Equals 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.
Determines whether two GridLength structures are equal.
Overloads
Equals(Object) |
Determines whether the specified object is equal to the current GridLength instance. |
Equals(GridLength) |
Determines whether the specified GridLength is equal to the current GridLength. |
Equals(Object)
Determines whether the specified object is equal to the current GridLength instance.
public:
override bool Equals(System::Object ^ oCompare);
public override bool Equals (object oCompare);
override this.Equals : obj -> bool
Public Overrides Function Equals (oCompare As Object) As Boolean
Parameters
- oCompare
- Object
The object to compare with the current instance.
Returns
true
if the specified object has the same value and GridUnitType as the current instance; otherwise, false
.
See also
Applies to
Equals(GridLength)
Determines whether the specified GridLength is equal to the current GridLength.
public:
virtual bool Equals(System::Windows::GridLength gridLength);
public bool Equals (System.Windows.GridLength gridLength);
override this.Equals : System.Windows.GridLength -> bool
Public Function Equals (gridLength As GridLength) As Boolean
Parameters
- gridLength
- GridLength
The GridLength structure to compare with the current instance.
Returns
true
if the specified GridLength has the same value and GridUnitType as the current instance; otherwise, false
.