Share via


Customizing Toolbars

You can change the layout, position, and content of toolbars in the Visual Studio integrated development environment (IDE). You can also add buttons to toolbars and change the assigned icon for any button.

To add a new toolbar

  1. On the Tools menu, choose Customize.
  2. In the Customize dialog box, select the Toolbars tab.
  3. Choose New.
  4. In the New Toolbar dialog box, type a Toolbar name.
  5. Choose OK.

To add a command button to a toolbar

  1. On the Tools menu, choose Customize.
  2. In the Customize dialog box, select the Toolbars tab.
  3. Select and enable the toolbar you want to customize.
  4. Select the Commands tab.
  5. Go to the category that contains the command you want to add to the toolbar in Categories.
  6. Select an item in Commands.
  7. Drag the Commands item from the Customize dialog box to a toolbar of your choice.
  8. When the mouse pointer displays a plus (+) symbol, drop your item onto the toolbar.

Visual Studio provides forty-two button images that can be exchanged with the default toolbar icons.

To change toolbar button images

  1. On the Tools menu, choose Customize.

  2. In the Customize dialog box, select the Toolbars tab.

  3. Select and enable the toolbar containing the button image you want to change.

  4. Leaving the Customize dialog box open, click the button you want to change.

    A black square or rectangle indicates that the button is selected for modification.

  5. Select the Commands tab.

  6. Choose Modify Selection.

  7. Choose Change Button Image 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

  1. On the Tools menu, choose Customize.

  2. In the Customize dialog box, select the Toolbars tab.

  3. Select and enable the toolbar containing the button image you want to change.

  4. Leaving the Customize dialog box open, click the button you want to change.

    A black square or rectangle indicates that the button is selected for modification.

  5. Select the Commands tab.

  6. Choose Modify Selection.

  7. Choose Edit Button Image.

  8. Use the Button Editor 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, Accessibility Options.

See Also

Customize Dialog Box | Customizing the Development Environment