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

◆ control() [1/3]

std::optional< xtd::forms::control_ref > xtd::forms::tool_bar_button::control ( ) const
noexcept

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

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