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.PanelElement.Shape = donutShape;

Dim donutShape As New DonutShape()
donutShape.Thickness = 50
radPanel1.PanelElement.Shape = donutShape

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

See Also

In this article
Not finding the help you need? Improve this article