Grid.CornerRadius Grid.CornerRadius Grid.CornerRadius Grid.CornerRadius Property


Gets or sets the radius for the corners of the panel's border.

public : CornerRadius CornerRadius { get; set; }
CornerRadius CornerRadius();

void CornerRadius(CornerRadius cornerradius);
public CornerRadius CornerRadius { get; set; }
Public ReadWrite Property CornerRadius As CornerRadius
<Grid CornerRadius="uniformRadius"/>
- or -
<Grid CornerRadius="topLeft,topRight,bottomRight,bottomLeft"/>

Property Value

The degree to which the corners are rounded, expressed as values of the CornerRadius structure.


Member components of a CornerRadius value cannot be negative.