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

◆ tool_bar_button() [2/2]

xtd::forms::tool_bar_button::tool_bar_button ( const xtd::string text)
explicit

Initializes a new instance of the xtd::forms::tool_bar_button class and displays the assigned text on the button.

Parameters
textThe text to display on the new xtd::forms::tool_bar_button.
Remarks
The newly created xtd::forms::tool_bar_button has no xtd::drawing::image assigned assigned to it. The button's default style is xtd::tool_bar_button_style::push_button. The text parameter is assigned to the xtd::forms::tool_bar_button::text property and is displayed on the new toolbar button control.