Skip to main content

NavBarImage Enum

Contains possible styles for displaying images within groups’ captions.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v25.1.dll

NuGet Package: DevExpress.Win

Declaration

public enum NavBarImage

Members

Name Description
Default

A group’s caption displays a small image, if available. If no small image is available, the group displays a large image. If no large image is available, the group does not display any image.

Small

A group’s caption displays a small image, if available. If no small image is available, the group does not display any image.

Large

A group’s caption displays a large image, if available. If no large image is available, the group does not display any image.

Related API Members

The following properties accept/return NavBarImage values:

Remarks

For each group you can specify small and large images to display within its caption. The NavBarGroup.GroupCaptionUseImage of the NavBarImage type specifies whether to display the small or large image in the group’s caption.

Large images can be set using LargeImage and LargeImageIndex options accessible in the group’s NavElement.ImageOptions. LargeImageIndex associates the group with a large image from the NavBarControl.LargeImages list. LargeImage has a higher priority than LargeImageIndex.

Similarly, small images can be set using SmallImage and SmallImageIndex options accessible in NavElement.ImageOptions. SmallImageIndex specifies the index of a small image in the NavBarControl.SmallImages list. It has a lower priority than SmallImage.

See Also