Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CornerRadius Constructors

Definition

Namespace:
Windows.UI.Xaml
Assembly:
System.Runtime.WindowsRuntime.UI.Xaml.dll

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.

Overloads

Name Description
CornerRadius(Double)

Initializes a new CornerRadius structure, applying the same uniform radius to all its corners.

CornerRadius(Double, Double, Double, Double)

Initializes a new instance of the CornerRadius struct, applying specific radius values to its corners.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) CornerRadius struct. For more information, see CornerRadius in the UWP API reference.

CornerRadius(Double)

Initializes a new CornerRadius structure, applying the same uniform radius to all its corners.

public:
 CornerRadius(double uniformRadius);
public CornerRadius(double uniformRadius);
new Windows.UI.Xaml.CornerRadius : double -> Windows.UI.Xaml.CornerRadius
Public Sub New (uniformRadius As Double)

Parameters

uniformRadius
Double

A uniform radius applied to all four CornerRadius properties (TopLeft, TopRight, BottomRight, BottomLeft).

Applies to

CornerRadius(Double, Double, Double, Double)

Initializes a new instance of the CornerRadius struct, applying specific radius values to its corners.

public:
 CornerRadius(double topLeft, double topRight, double bottomRight, double bottomLeft);
public CornerRadius(double topLeft, double topRight, double bottomRight, double bottomLeft);
new Windows.UI.Xaml.CornerRadius : double * double * double * double -> Windows.UI.Xaml.CornerRadius
Public Sub New (topLeft As Double, topRight As Double, bottomRight As Double, bottomLeft As Double)

Parameters

topLeft
Double

The initial TopLeft value.

topRight
Double

The initial TopRight value.

bottomRight
Double

The initial BottomRight value.

bottomLeft
Double

The initial BottomLeft value.

Applies to


Feedback

Was this page helpful?