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

Donut Shape

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


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

DonutShape donutShape = new DonutShape();
donutShape.Thickness = 50;
radPanel1.RootElement.Shape = donutShape;
radPanel1.RootElement.ApplyShapeToControl = true;

Dim donutShape As New DonutShape()
donutShape.Thickness = 50
radPanel1.RootElement.Shape = donutShape
radPanel1.RootElement.ApplyShapeToControl = True

You can use the Thickness property to adjust the donut width.

See Also

In this article