Tooltip in Windows Forms xptoolbar (XPToolbar)
3 Sep 2020 / 1 minute to read
Tooltip is nothing but a hint, showing short format or customized text about the bar item, when mouse hover on it. By enabling ShowTooltip
property of each bar item, we can display tooltip while hovering. The Tooltip
property is used to set short format or customized text for the tooltip.
NOTE
- The
ShowTooltip
property is set as true by default. In this case, it will display the exact text set in theText
property of each bar item.- In this illustration, we have used BarItem. Similarly, we have set the tooltip for ParentBarItem, DropDownBarItem, ComboBoxBarItem, ListBarItem, StaticBarItem, ToolbarListBarItem and TextBoxBarItem.
The below code snippet will explain how to set tooltip for bar items.
this.barItem1.ShowTooltip = true;
this.barItem1.Tooltip = "Used to create a new document";
Me.barItem1.ShowTooltip = True
Me.barItem1.Tooltip = "Used to create a new document"
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page