OptionsNavPane.HeaderImageSize Property
Gets or sets the size of the frame into which the header image of an expanded group is fitted.
Namespace: DevExpress.XtraNavBar
Assembly: DevExpress.XtraNavBar.v24.1.dll
NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
Size | A |
Property Paths
You can access this nested property as listed below:
Object Type | Path to HeaderImageSize |
---|---|
NavBarControl |
|
Remarks
If the OptionsNavPane.ShowGroupImageInHeader setting is enabled, group headers display images next to their captions. By default, the group header images are fitted (stretched) into a frame of the default size of 16x16 pixels (see OptionsNavPane.DefaultNavPaneHeaderImageSize). Use the HeaderImageSize property to provide a custom size of the frame for the group header images to be stretched.
If you need to provide individual frame sizes for distinct groups, handle the NavBarControl.GroupExpanded event, and specify the required frame size for the expanded group.