Skip to main content

XtraTabControl.ShowHeaderFocus Property

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

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v24.1.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 (its XtraTabControl.PaintStyleName property is set to the ‘Standard’ value).

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