Udostępnij za pośrednictwem


RelativePanel.CornerRadius Property

Definition

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

public:
 property CornerRadius CornerRadius { CornerRadius get(); void set(CornerRadius value); };
CornerRadius CornerRadius();

void CornerRadius(CornerRadius value);
public CornerRadius CornerRadius { get; set; }
var cornerRadius = relativePanel.cornerRadius;
relativePanel.cornerRadius = cornerRadius;
Public Property CornerRadius As CornerRadius
<RelativePanel CornerRadius="uniformRadius"/>
- or -
<RelativePanel CornerRadius="topLeft,topRight,bottomRight,bottomLeft"/>

Property Value

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

Remarks

Member components of a CornerRadius value cannot be negative.

Applies to