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

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.v18.2.dll

Declaration

public virtual Size HeaderImageSize { get; set; }

Property Value

Type Description
Size

A Size structure that specifies the size of the frame into which the header image of an expanded group is fitted.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to HeaderImageSize
WinForms Controls NavBarControl
.OptionsNavPane.HeaderImageSize
Reporting XRDesignToolBox
.OptionsNavPane.HeaderImageSize

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.

See Also