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

◆ control() [2/3]

tool_bar_button & xtd::forms::tool_bar_button::control ( const xtd::forms::control value)

Sets the control to be displayed in the control toolbar button.

Parameters
valueA xtd::forms::control to be displayed in the control toolbar button. The default is std::nullopt.
Returns
This current instance.
Remarks
You can specify a xtd::forms::control to be displayed. This property is not used unless the xtd::forms::tool_bar_button::style property value is set to xtd::forms::tool_bar_button_style::control.