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

Tooltips

There are two ways to assign tooltips to RadToggleSwitch, namely setting the ToolTipText property of the RadToggleSwitchElement, or as in most of the RadControls by using the ToolTipTextNeeded event of RadToggleSwitch. It is necessary the ShowItemToolTips property to be set to true which is the default value.

Setting the ToolTipText property

this.radToggleSwitch1.ToggleSwitchElement.ToolTipText = "sample tooltip";

Me.RadToggleSwitch1.ToggleSwitchElement.ToolTipText = "sample tooltip"

WinForms RadToggleSwitch ToolTipText

Setting tool tips in the ToolTipTextNeeded event

private void RadToggleSwitch1_ToolTipTextNeeded(object sender, Telerik.WinControls.ToolTipTextNeededEventArgs e)
{
    e.ToolTipText = "Click me";
}

Private Sub RadToggleSwitch1_ToolTipTextNeeded(sender As Object, e As Telerik.WinControls.ToolTipTextNeededEventArgs)
    e.ToolTipText = "Click me"
End Sub

WinForms RadToggleSwitch ToolTipTextNeeded

The ToolTipTextNeeded event has higher priority and overrides the tool tips set in the ToolTipText property.

In this article