CornerRadius.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.
Compares two CornerRadius structures for equality.
Overloads
Equals(Object) |
Determines whether the specified Object is a CornerRadius and whether it contains the same corner radius values as this CornerRadius. |
Equals(CornerRadius) |
Compares two CornerRadius structures for equality. |
Equals(Object)
Determines whether the specified Object is a CornerRadius and whether it contains the same corner radius values as this CornerRadius.
public:
override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
Parameters
Returns
true
if obj
is a CornerRadius and contains the same corner radius values as this CornerRadius; otherwise, false
.
Applies to
Equals(CornerRadius)
Compares two CornerRadius structures for equality.
public:
virtual bool Equals(System::Windows::CornerRadius cornerRadius);
public bool Equals (System.Windows.CornerRadius cornerRadius);
override this.Equals : System.Windows.CornerRadius -> bool
Public Function Equals (cornerRadius As CornerRadius) As Boolean
Parameters
- cornerRadius
- CornerRadius
The CornerRadius to compare to this CornerRadius.
Returns
true
if cornerRadius
contains the same corner radius values as this CornerRadius; otherwise, false
.
Implements
Applies to
.NET