Back to Devexpress

XtraTabControl.ShowHeaderFocus Property

windowsforms-devexpress-dot-xtratab-dot-xtratabcontrol-725e1f2e.md

latest2.1 KB
Original Source

XtraTabControl.ShowHeaderFocus Property

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

Namespace : DevExpress.XtraTab

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
public virtual DefaultBoolean ShowHeaderFocus { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(DefaultBoolean.Default)>
Public Overridable Property ShowHeaderFocus As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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

|

Available values:

NameDescriptionReturn 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.

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

See Also

XtraTabControl Class

XtraTabControl Members

DevExpress.XtraTab Namespace