# TabVsShape

The following image shows the **TabVsShape** applied to a RadPanel:

![Telerik UI for WinForms TabVsShape applied to a RadPanel](https://www.telerik.com/products/winforms/documentation/assets/ad8047c2fb2cb81c116cc04ddf858713/tab-vs-shape001.png)

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

  



```C#
TabVsShape tabVsShape = new TabVsShape();
radPanel1.BackColor = Color.ForestGreen;
this.radPanel1.RootElement.Shape = tabVsShape;
this.radPanel1.RootElement.ApplyShapeToControl = true;

```

```VB.NET
Dim tabVsShape As TabVsShape = New TabVsShape()
radPanel1.BackColor = Color.ForestGreen
Me.radPanel1.RootElement.Shape = tabVsShape
Me.radPanel1.RootElement.ApplyShapeToControl = True

```

 

### Properties

* **RightToLeft**: A property of type **bool** that gets or sets the orientation of this shape.
* **CloseFigure**: A property of type **bool** that apply the close figure.

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