Udostępnij za pośrednictwem


Bitmaps Element

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Groups Bitmap Element elements.

Syntax

<Bitmaps>  
  <Bitmap>... </Bitmap>  
  <Bitmap>... </Bitmap>  
</Bitmaps>  

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
Condition Optional. See Conditional Attributes.

Child Elements

Element Description
Bitmaps Element Groups Bitmap elements.
Bitmap Element Defines a bitmap.

Parent Elements

Element Description
Commands Element Represents the collection of commands on the VSPackage toolbar.

Example

<Bitmaps>  
  <Bitmap guid="guidWidgetIcons" href="WidgetToolbarIcons_32.bmp" />  
  <Bitmap guid="guidWidgetIcons2" resID="IDBMP_WIDGETICONS"  
    usedList="1, 2, 3, 4"/>  
</Bitmaps>  

See Also

How VSPackages Add User Interface Elements
Commands, Menus, and Toolbars