Setting a Tooltip Text for Action Buttons in RadChat Toolbar
Environment
| Product Version | Product | Author |
|---|---|---|
| 2025.3.812 | RadChat for WinForms | Dinko Krastev |
Description
In this tutorial, we will demonstrate how to set the ToolTipText property of the RaChat control Toolbar action buttons.
Solution
To set tooltip text for action buttons in the toolbar, access the ToolbarActionElement objects inside the ItemsLayout. Use the following code snippet:
foreach (ToolbarActionElement element in this.radChat1.ChatElement.ToolbarElement.ItemsLayout.Children)
{
element.ToolTipText = "ToolTip Text";
}