# Star Shape

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

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

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

  



```C#
StarShape starShape = new StarShape();
starShape.Arms = 12;
starShape.InnerRadiusRatio = .5f;
radPanel1.RootElement.Shape = starShape;
radPanel1.RootElement.ApplyShapeToControl = true;

```

```VB.NET
Dim starShape As New StarShape()
starShape.Arms = 12
starShape.InnerRadiusRatio = 0.5F
radPanel1.RootElement.Shape = starShape
radPanel1.RootElement.ApplyShapeToControl = True

```

 

### Properties

## 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)

* [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)
