Skip to main content

TabControlViewBase.HeaderLocation Property

Gets or sets the location of the Header Panel, relative to the tab item. This is a dependency property.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public HeaderLocation HeaderLocation { get; set; }

#Property Value

Type Description
HeaderLocation

One of the HeaderLocation enumeration members, defining the location of the Header Panel.

#Remarks

The Header Panel can be located in the following ways:

  • on the left side of the tab item

    TabControl_HeaderLocation_Left

  • on the right side of the tab item

TabControl_HeaderLocation_Right

  • at the bottom of the tab item

TabControl_HeaderLocation_Bottom

  • at the top of the tab item

TabControl_HeaderLocation_Top

The HeaderLocation property enables you to specify the DXTabControl's visual representation. The control's appearance is defined by four templates: DXTabControl.LayoutBottomTemplate, DXTabControl.LayoutLeftTemplate, DXTabControl.LayoutRightTemplate and DXTabControl.LayoutTopTemplate. Each template corresponds to a particular location of the Header Panel. For instance, if the Panel is located on the right side of the control, the template specified by the DXTabControl.LayoutRightTemplate property is applied.

See Also