Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

NavBarAppearances.GroupHeaderPressed Property

Gets the appearance settings used to paint the group header when it’s pressed.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

NuGet Package: DevExpress.Win

#Declaration

public AppearanceObject GroupHeaderPressed { get; }

#Property Value

Type Description
AppearanceObject

A AppearanceObject object which provides the appearance settings used to paint the group header when it’s pressed.

#Remarks

The GroupHeaderPressed property provides the default appearance settings used to paint group headers when they are pressed. Individual groups can override these settings using their NavElement.AppearancePressed property.

In the XP2View, XPExplorerBarView and skinning paint schemes, setting background colors via the GroupHeaderPressed property is not in effect.

To custom paint group headers handle the NavBarControl.CustomDrawGroupCaption event.

For more information on appearances, see the Appearances topic.

See Also