# Donut Shape

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

![Telerik UI for WinForms DonutShape applied to a RadPanel](https://www.telerik.com/products/winforms/documentation/assets/64fad190dce77349a3edcb32cf1ca3d5/donut-shape001.png)

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

  



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

```

```VB.NET
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

* [Custom Shapes](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/shapes/diamond-shape)

* [Diamond Shape](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/shapes/diamond-shape)

* [Ellipse Shape](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/shapes/elipse-shape)

* [Heart Shape](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/shapes/heart-shape)

* [Media Shape](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/shapes/media-shape)

* [Overview](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/shapes/overview)

* [RoundRect Shape](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/shapes/round-rect-shape)

* [Star Shape](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/shapes/star-shape)
