Icon element

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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

The guid attribute of the Icon tag is the guid of a defined bitmap. The id attribute selects the slot in the bitmap strip. This element is optional. If this element is not included the value of guidOfficeIcon:msotcidNoIcon will be implied.

Syntax

<Icon guid="guidImages" id="bmpPic1" />

Attributes and elements

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

Attributes

Attribute Description
guid Required. The guid of a defined bitmap.
id Required. Selects the slot in the bitmap strip.

Child elements

Element Description
None. None.

Parent elements

Element Description
Buttons element

See also