CornerRadius Constructor (Double, Double, Double, Double)

 

Initializes a new instance of the CornerRadius class with the specified radius values for each corner of the rectangle.

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

public CornerRadius(
	double topLeft,
	double topRight,
	double bottomRight,
	double bottomLeft
)

Parameters

topLeft
Type: System.Double

The radius of the top-left corner.

topRight
Type: System.Double

The radius of the top-right corner.

bottomRight
Type: System.Double

The radius of the bottom-right corner.

bottomLeft
Type: System.Double

The radius of the bottom-left corner.

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