Skip to main content
All docs
V24.2

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

NavigationPane.ShowHeaderFocus Property

Gets or sets whether to display a dashed rectangle for the focused page header.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
public DefaultBoolean ShowHeaderFocus { get; set; }

#Property Value

Type Default Description
DefaultBoolean Default

true to display a dashed rectangle for the focused page header; otherwise, false.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

#Remarks

The Default value displays a dashed rectangle if the applied skin does not have alternative visual elements to highlight focused items.

The NavigationPane / TabPane always displays a dashed rectangle around the focused page header if the ShowHeaderFocus is set to true:

WinForms Navigation Pane - Focused Page Header

The ShowHeaderFocus property has no effect if the AllowNavigationThroughPages property is set to false.

See Also