xtd 0.2.0
Loading...
Searching...
No Matches

◆ tool_tip_text() [2/2]

tool_bar_button & xtd::forms::tool_bar_button::tool_tip_text ( const xtd::string value)

Sets the text that appears as a xtd::forms::tool_tip for the button.

Parameters
valueThe text that is displayed when the mouse pointer moves over the toolbar button. The default is an empty string ("").
Returns
This current instance.
Remarks
To enable the display of the xtd::forms::tool_tip text when the mouse pointer is moved over the button, set the xtd::forms::tool_bar::show_tool_tips property of the button's parent xtd::forms::tool_bar to true.