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

Tooltips

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

Setting the ToolTipText property

this.radSplitButton1.DropDownButtonElement.ToolTipText = "sample tooltip";

In order to assign different tooltips for the action part and the arrow button, you must specify the ToolTipText property of the RadSplitButtonElement.ActionButton or RadSplitButtonElement.ArrowButton element.

WinForms RadSplitButton ToolTipText

Setting tool tips in the ToolTipTextNeeded event

private void RadSplitButton1_ToolTipTextNeeded(object sender, Telerik.WinControls.ToolTipTextNeededEventArgs e)
{
    ActionButtonElement actionButtonElement = sender as ActionButtonElement;
    RadArrowButtonElement arrowButtonElement = sender as RadArrowButtonElement;
    if (actionButtonElement != null)
    {
        e.ToolTipText = "ActionButtonElement";
    }
    else if (arrowButtonElement != null)
    {
        e.ToolTipText = "RadArrowButtonElement";
    }
}

WinForms RadSplitButton ToolTipTextNeededs

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

In this article