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.

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

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