Skip to main content
A newer version of this page is available. .

NavBarImage Enum

Contains possible styles for displaying images within groups’ captions.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v18.2.dll

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 via the group’s NavElement.LargeImage and NavElement.LargeImageIndex properties. The latter property allows you to associate the group with a large image from the NavBarControl.LargeImages list. NavElement.LargeImage has a higher priority than NavElement.LargeImageIndex.

Similarly, small images can be set via the group’s NavElement.SmallImage and NavElement.SmallImageIndex properties. NavElement.SmallImageIndex specifies the index of a small image in the NavBarControl.SmallImages list. It has a lower priority than NavElement.SmallImage.

See Also