Skip to main content

TabPane.TabAlignment Property

Gets or sets whether tabs are aligned at the near or far side of the pane, or in center. By default, the alignment depends on the pane’s dock style, and RTL setting.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(Alignment.Default)]
[DXCategory("Layout")]
public Alignment TabAlignment { get; set; }

Property Value

Type Default Description
DevExpress.XtraEditors.Alignment Default

An DevExpress.XtraEditors.Alignment enumeration value that specifies the alignment of tabs relative to the pane.

Remarks

By default (the current property is set to Default), tabs are aligned at the right side if the pane’s RTL setting is enabled (see RightToLeft), or if the pane is docked at the right (see NavigationPane.Dock). Otherwise, tabs are left aligned. Use the TabAlignment property to explicitly specify the alignment of the pane’s tabs. Note that if the pane is right-to-left aligned, the near aligned tabs are right aligned.

See Also