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

XtraTabControl.ShowHeaderFocus Property

Gets or sets whether a focus frame is displayed around the selected page header.

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Property Value

Type Default Description
DefaultBoolean Default

A DefaultBoolean enumeration member which specifies whether a focus frame is displayed around the selected page header.

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

If this property is set to the ‘Default’ value a focus frame is displayed around the selected page header only if the tab control is painted in the standard style.

If it’s set to ‘True’ a focus rectangle is always displayed around the selected page header, as shown in the image below.

XtraTabControl.ShowHeaderFocus

If it’s set to ‘False’, the focus rectangle is never displayed.

See Also