CornerRadius.Equality Operator (CornerRadius, CornerRadius)

 

Compares two CornerRadius structures for equality.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static bool operator ==(
	CornerRadius cr1,
	CornerRadius cr2
)

Parameters

cr1
Type: System.Windows.CornerRadius

The first CornerRadius to compare.

cr2
Type: System.Windows.CornerRadius

The second CornerRadius to compare.

Return Value

Type: System.Boolean

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.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: