Condividi tramite


CornerRadius (Border)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the radius for the corners of the border.

<object CornerRadius="uniform"/>
- or -
<object CornerRadius="bottomleft,topleft,topright,bottomright"/>
value = object.CornerRadius
object.CornerRadius = value

Property Value

Type: CornerRadius

An object that defines the four radius values of the corners.

This property is read/write. The default is an empty object, which evaluates to all values as 0.

XAML Values

See CornerRadius.

Managed Equivalent

CornerRadius

Applies To

Border

Version Information

Silverlight 2