Export (0) Print
Expand All

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.

To create 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 name for the toolbar.

  5. Choose OK.

To add a command button to a toolbar

  1. On the Toolsmenu, choose Customize.

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

  3. Click Rearrange Commands.

  4. Under Choose a menu or toolbar to rearrange, select Toolbar and then choose the correct toolbar from the drop-down list.

  5. Click Add.

  6. In the Add Command dialog box, select category name from the Categories list and then choose an appropriate command from the Commands list.

  7. Click OK.

  8. Click Close and then click Close again.

To group commands on a toolbar

  1. On the Toolsmenu, choose Customize.

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

  3. Click Rearrange Commands.

  4. Under Choose a menu or toolbar to rearrange, select Toolbar and then choose the correct toolbar from the drop-down list.

  5. Select the command you want to begin a visual group.

  6. 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.

  7. Click OK, then click Close, and then click Close again.

    The command appears on the toolbar with a separator before it.

The IDE 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 Commands tab.

  3. Click Rearrange Commands.

  4. Under Choose a menu or toolbar to rearrange, select Toolbar and then choose the correct toolbar from the drop-down list.

  5. Select the toolbar command of which you intend to change the image.

  6. Choose Modify Selection.

  7. Choose Change Button Image and select an alternative on the cascading menu.

    TipTip:

    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 Commands tab.

  3. Click Rearrange Commands.

  4. Under Choose a menu or toolbar to rearrange, select Toolbar and then choose the correct toolbar from the drop-down list.

  5. Select the toolbar command of which you intend to change the image.

  6. Choose Modify Selection.

  7. Choose Edit Button Image.

  8. Use the Button Editor dialog box to customize the selected button's image.

    NoteNote:

    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.

Community Additions

ADD
Show:
© 2015 Microsoft