CornerRadius.Equals Method

Definition

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

obj
Object

The Object to compare.

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