# Media Shape

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

![Telerik UI for WinForms MediaShape applied to a RadPanel](https://www.telerik.com/products/winforms/documentation/assets/58a71a7855d5eb8341fa740d0891dd39/media-shape001.png)

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

  



```C#
MediaShape mediaShape = new MediaShape();
radPanel1.RootElement.Shape = mediaShape;
radPanel1.RootElement.ApplyShapeToControl = true;

```

```VB.NET
Dim mediaShape As New MediaShape()
radPanel1.RootElement.Shape = mediaShape
radPanel1.RootElement.ApplyShapeToControl = True

```

 

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

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