# TrackBar Thumb Shapes

There are four different trackbar thumb shapes.

The following image shows the TrackBar Thumb Shapes applied to a RadPanel:

![Telerik UI for WinForms four TrackBar thumb shapes applied to a RadPanel](https://www.telerik.com/products/winforms/documentation/assets/56b1d3e2300d5d718338ecf1d4aa6335/trackbar-thumb-shape001.png)

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

  



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

TrackBarUThumbShape trackBarUThumbShape = new TrackBarUThumbShape();
radPanel2.BackColor = Color.ForestGreen;
this.radPanel2.RootElement.Shape = trackBarUThumbShape;
this.radPanel2.RootElement.ApplyShapeToControl = true;

TrackBarRThumbShape trackBarRThumbShape = new TrackBarRThumbShape();
radPanel3.BackColor = Color.ForestGreen;
this.radPanel3.RootElement.Shape = trackBarRThumbShape;
this.radPanel3.RootElement.ApplyShapeToControl = true;

TrackBarLThumbShape trackBarLThumbShape = new TrackBarLThumbShape();
radPanel4.BackColor = Color.ForestGreen;
this.radPanel4.RootElement.Shape = trackBarLThumbShape;
this.radPanel4.RootElement.ApplyShapeToControl = true;

```

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

Dim trackBarUThumbShape As TrackBarUThumbShape = New TrackBarUThumbShape()
radPanel2.BackColor = Color.ForestGreen
Me.radPanel2.RootElement.Shape = trackBarUThumbShape
Me.radPanel2.RootElement.ApplyShapeToControl = True

Dim trackBarRThumbShape As TrackBarRThumbShape = New TrackBarRThumbShape()
radPanel3.BackColor = Color.ForestGreen
Me.radPanel3.RootElement.Shape = trackBarRThumbShape
Me.radPanel3.RootElement.ApplyShapeToControl = True

Dim trackBarLThumbShape As TrackBarLThumbShape = New TrackBarLThumbShape()
radPanel4.BackColor = Color.ForestGreen
Me.radPanel4.RootElement.Shape = trackBarLThumbShape
Me.radPanel4.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)

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