Edit

Share 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);

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

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10