Redigera

Dela via


CornerRadius.Equality(CornerRadius, CornerRadius) Operator

Definition

Compares two CornerRadius structures for equality.

public:
 static bool operator ==(System::Windows::CornerRadius cr1, System::Windows::CornerRadius cr2);
public static bool operator == (System.Windows.CornerRadius cr1, System.Windows.CornerRadius cr2);
static member ( = ) : System.Windows.CornerRadius * System.Windows.CornerRadius -> bool
Public Shared Operator == (cr1 As CornerRadius, cr2 As CornerRadius) As Boolean

Parameters

cr1
CornerRadius

The first CornerRadius to compare.

cr2
CornerRadius

The second CornerRadius to compare.

Returns

true if cr1 and cr2 have equal values for all corners (same values for TopLeft, TopRight, BottomLeft, BottomRight); false if cr1 and cr2 have different values for one or more corners.

Applies to