New to Telerik UI for WinForms? Download free 30-day trial

Circle Shape

The following image shows the Circle shape applied to a RadPanel:

circle-shape001

The following code shows how you can create and apply a Circle:

CircleShape circleShape = new CircleShape();          
radPanel1.BackColor = Color.ForestGreen;
this.radPanel1.RootElement.Shape = circleShape;
this.radPanel1.RootElement.ApplyShapeToControl = true;

Dim circleShape As CircleShape = New CircleShape()
radPanel1.BackColor = Color.ForestGreen
Me.radPanel1.RootElement.Shape = circleShape
Me.radPanel1.RootElement.ApplyShapeToControl = True

See Also

In this article