# Diamond Shape

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

![Telerik UI for WinForms DiamondShape applied to a RadPanel](https://www.telerik.com/products/winforms/documentation/assets/dd3fa9ad0552554f02ece2aa51f3ffef/diamond-shape001.png)

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

  



```C#
DiamondShape diamondShape = new DiamondShape();
radPanel1.PanelElement.Shape = diamondShape;

```

```VB.NET
Dim diamondShape As New DiamondShape()
radPanel1.RootElement.Shape = diamondShape
radPanel1.RootElement.ApplyShapeToControl = True

```

 

## See Also

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

* [Donut Shape](https://www.telerik.com/products/winforms/documentation/telerik-presentation-framework/shapes/donut-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)
