xtd 0.2.0

◆ control() [3/3]

tool_bar_button & xtd::forms::tool_bar_button::control ( std::nullptr_t  value)

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

Parameters
valuenullptr.
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.