New to Telerik UI for WinForms? Download free 30-day trial


This article will show the internal elements structure of RadToggleSwitch:

Fiure 1: RadToggleSwitch's elements hierarchy

buttons-toggleswitch-structure 001

This article describes the inner structure and organization of the elements which build the RadToggleSwitch control.

Figure 2: RadToggleSwitch visual structure

buttons-toggleswitch-structure 001

  1. ToggleSwitchPartElement: visual representation of the RadToggleSwitchElement.OnElement.

  2. ToggleSwitchThumbElement: visual representation of the RadToggleSwitchElement.Thumb.

  3. ToggleSwitchPartElement: visual representation of the RadToggleSwitchElement.OffElement.

Depending on the Value only one of the ToggleSwitchPartElement s is shown.

In this article