windowsforms-devexpress-dot-xtranavbar-dot-navbargroup-707704f8.md
Returns the image to display within the group caption.
Namespace : DevExpress.XtraNavBar
Assembly : DevExpress.XtraNavBar.v25.2.dll
NuGet Package : DevExpress.Win
public virtual Image GetImage()
Public Overridable Function GetImage As Image
| Type | Description |
|---|---|
| Image |
A Image object specifying the image to display within the group caption. null if no image is assigned to the group.
|
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 LargeImage or LargeImageIndex option accessible in NavElement.ImageOptions. Small images can be assigned using the SmallImage or SmallImageIndex option accessible in NavElement.ImageOptions.
For more information, see the NavBarGroup.GroupCaptionUseImage topic.
SideBar Views do not allow images to be displayed in group captions.
See Also