tool_bar_button & xtd::forms::tool_bar_button::drop_down_menu | ( | const xtd::forms::context_menu & | value | ) |
Sets the menu to be displayed in the drop-down toolbar button.
value | A xtd::forms::context_menu to be displayed in the drop-down toolbar button. The default is std::nullopt. |