Skip to main content

DXTabItem.HeaderLocation Property

Gets the location of the Header Panel, relative to the tab item.

Namespace: DevExpress.Xpf.Core

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

#Declaration

public HeaderLocation HeaderLocation { get; }

#Property Value

Type Description
HeaderLocation

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

#Remarks

The Header Panel can be located on the left side, on the right side, at the bottom or at the top of the tab item. The location is specified by the DXTabControl view's TabControlViewBase.HeaderLocation property. The view is accessed via the DXTabControl.View property.

The HeaderLocation property's value affects the DXTabControl's visual representation. The control's appearance is defined by four templates: DXTabControl.LayoutBottomTemplate, DXTabControl.LayoutLeftTemplate, DXTabControl.LayoutRightTemplate and DXTabControl.LayoutTopTemplate. Which of them is applied depends on the 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