![]() ![]() Sets whether a toggle-style toolbar button is currently in the pushed state. The toolbar button's Style property must be set to ToggleButton. Sets whether a toggle-style toolbar button is partially pushed. This property takes an instance of the ContextMenu class as a reference. The toolbar button's Style property must be set to DropDownButton. Sets the menu to be displayed in the drop-down toolbar button. The following table shows some important properties to consider. Use the Add and Remove buttons to add and remove buttons from the ToolBar control.Ĭonfigure the properties of the individual buttons in the Properties window that appears in the pane on the right side of the editor. ![]() The following procedure requires a Windows Application project with a form containing a ToolBar control. These can be used to provide easy access to menu commands or, alternately, they can be placed in another area of the user interface of your application to expose commands to your users that are not available in the menu structure. An integral part of the ToolBar control is the buttons you add to it. The ToolStrip control replaces and adds functionality to the ToolBar control however, the ToolBar control is retained for both backward compatibility and future use, if you choose. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |