Skip to content

Commit 4f2487e

Browse files
author
KB Bot
committed
Added new kb article chat-action-buttons-tooltip
1 parent 98e402f commit 4f2487e

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: Setting a Tooltip Text for Action Buttons in RadChat Toolbar
3+
description: Learn how to set tooltip text for action buttons in the toolbar of the RadChat control in UI for WinForms.
4+
type: how-to
5+
page_title: Adding Tooltip Text to Toolbar Buttons in RadChat for WinForms
6+
meta_title: Adding Tooltip Text to Toolbar Buttons in RadChat for WinForms
7+
slug: chat-action-buttons-tooltip
8+
tags: chat, winforms, tooltiptext, toolbar, toolbaractionelement, vb.net, c#
9+
res_type: kb
10+
ticketid: 1699306
11+
---
12+
13+
## Environment
14+
15+
|Product Version|Product|Author|
16+
|----|----|----|
17+
|2025.3.812|RadGridView for WinForms|[Dinko Krastev](https://www.telerik.com/blogs/author/dinko-krastev)|
18+
19+
## Description
20+
21+
In this tutorial, we will demonstrate how to set the ToolTipText property of the RaChat control Toolbar action buttons.
22+
23+
## Solution
24+
25+
To set tooltip text for action buttons in the toolbar, access the `ToolbarActionElement` objects inside the `ItemsLayout`. Use the following code snippet:
26+
27+
````C#
28+
29+
foreach (ToolbarActionElement element in this.radChat1.ChatElement.ToolbarElement.ItemsLayout.Children)
30+
{
31+
element.ToolTipText = "ToolTip Text";
32+
}
33+
34+
````
35+
36+
## See Also
37+
38+
* [RadChat Documentation](https://docs.telerik.com/devtools/winforms/controls/chat/overview)
39+
* [RadChat Toolbar](https://docs.telerik.com/devtools/winforms/controls/chat/toolbar)
40+

0 commit comments

Comments
 (0)