If the button style is DropDownButton, you can, optionally, specify a context menu that is shown whenever the dropdown button is pressed. This property lets you control just which menu is shown. Note that this will ONLY be shown if the button style is DropDownButton
[Visual Basic] Public Property DropDownMenu As Menu [C#] public Menu DropDownMenu {get; set;} [C++] public: __property Menu* get_DropDownMenu(); public: __property void set_DropDownMenu(Menu*); [JScript] public function get DropDownMenu() : Menu; public function set DropDownMenu(Menu);
ToolBarButton Class | ToolBarButton Members | System.WinForms Namespace