Skip to main content

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

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

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:

Object Type Path to HeaderImageSize
NavBarControl
.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