CornerRadius.Equality(CornerRadius, CornerRadius) Operator
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.