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.
value | A xtd::forms::control to be displayed in the control toolbar button. The default is std::nullopt. |