Skip to main content

NavBarGroup.GetImage() Method

Returns the image to display within the group caption.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

Declaration

public virtual Image GetImage()

Returns

Type Description
Image

A Image object specifying the image to display within the group caption. null if no image is assigned to the group.

Remarks

This function returns the small or large image assigned to the group, dependent upon the NavBarGroup.GroupCaptionUseImage property. To specify large images for a group, use the NavElement.LargeImage and NavElement.LargeImageIndex properties. Small images can be assigned via the group’s NavElement.SmallImage and NavElement.SmallImageIndex properties

For more information, see the NavBarGroup.GroupCaptionUseImage topic.

SideBar Views do not allow images to be displayed in group captions.

See Also