CornerRadius.CornerRadius(Double, Double, Double, Double) constructor

Applies to Windows and Windows Phone

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

Syntax


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

Parameters

topLeft

Type: System.Double [.NET] | float64 [C++]

Sets the initial TopLeft.

topRight

Type: System.Double [.NET] | float64 [C++]

Sets the initial TopRight.

bottomLeft

Type: System.Double [.NET] | float64 [C++]

Sets the initial BottomLeft.

bottomRight

Type: System.Double [.NET] | float64 [C++]

Sets the initial BottomRight.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Platform.winmd

Assembly

System.Runtime.WindowsRuntime.UI.Xaml.dll

See also

CornerRadius

 

 

Show:
© 2014 Microsoft