How to: Customize Toolbars (Visual Studio)
You can change the layout, position, and content of toolbars in the integrated development environment (IDE). You can also add buttons to toolbars and change the assigned icon for any button.
Create new toolbars
To create a new toolbar
On the Tools menu, choose Customize.
In the Customize dialog box, select the Toolbars tab.
Choose New.
In the NewToolbar dialog box, type a name for the toolbar.
Choose OK.
To add a command button to a toolbar
On the Toolsmenu, choose Customize.
In the Customize dialog box, select the Commands tab.
Click Rearrange Commands.
Under Choose a menu or toolbar to rearrange, select Toolbar and then choose the correct toolbar from the drop-down list.
Click Add.
In the Add Command dialog box, select category name from the Categories list and then choose an appropriate command from the Commands list.
Click OK.
Click Close and then click Close again.
To group commands on a toolbar
On the Toolsmenu, choose Customize.
In the Customize dialog box, select the Commands tab.
Click Rearrange Commands.
Under Choose a menu or toolbar to rearrange, select Toolbar and then choose the correct toolbar from the drop-down list.
Select the command you want to begin a visual group.
Click the Modify Selection drop-down list and select Begin a Group.
A separator bar appears on the list of commands, above the selected command.
Click OK, then click Close, and then click Close again.
The command appears on the toolbar with a separator before it.
Customize toolbar button images
The IDE provides forty-two button images that can be exchanged with the default toolbar icons.
To change toolbar button images
On the Tools menu, choose Customize.
In the Customize dialog box, select the Commands tab.
Click Rearrange Commands.
Under Choose a menu or toolbar to rearrange, select Toolbar and then choose the correct toolbar from the drop-down list.
Select the toolbar command of which you intend to change the image.
Choose ModifySelection.
Choose ChangeButtonImage and select an alternative on the cascading menu.
Tip
If you are unsatisfied with the alternative images provided, you can customize a selected system image.
To edit button images
On the Tools menu, choose Customize.
In the Customize dialog box, select the Commands tab.
Click Rearrange Commands.
Under Choose a menu or toolbar to rearrange, select Toolbar and then choose the correct toolbar from the drop-down list.
Select the toolbar command of which you intend to change the image.
Choose ModifySelection.
Choose EditButtonImage.
Use the ButtonEditor dialog box to customize the selected button's image.
Note
The Customize dialog box can be used to customize menus as well.
For more information about improving the usability and accessibility of toolbars see, How to: Set Accessibility Options.
See Also
Reference
Customize Dialog Box (Visual Studio)