Small Images
- 2 minutes to read
NavBar groups and items can be associated with two images: large and small.
An item is presented within a group with the help of a link object which displays the item’s image (large or small) along with the item’s Caption. The type of image used is specified by the group’s LinksUseSmallImages property. Set it to True to make links within this group use small images. In this instance, links are represented by small images and captions. Captions are displayed to the right of images.
Group images are supported only by Explorer Bar Views, SkinNavigationPaneView, Office11TaskPaneView, and Office11NavigationPaneView. They are displayed to the left of the group caption within a group header. Set the group’s UseSmallImages property to True in order to make this group use a small image instead of a large image.
To provide small images for various certain item and group states (normal, disabled, and hot-tracked), use the NavBar control’s OptionsImage.SmallImages, OptionsImage.DisabledSmallImages, and OptionsImage.HotSmallImages collections.
To associate small images with a group or item, use the SmallImageIndex property. Items or groups are automatically associated with corresponding images, using the image index specified for items or groups in the normal state (the SmallImageIndex property).
The following screenshot shows a NavBar group with small images used by links and the group: