Log In
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Collapse]ASP.NET MVC Extensions
  [Expand]Product Information
  [Expand]Getting Started
  [Expand]Common Concepts
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Collapse]Site Navigation and Layout
     Overview - TabControl
     [Expand]Binding to Data
      Tab Layout Customization
    [Expand]Visual Elements
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors Extensions
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Extensions
  [Expand]Query Builder
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Tab Layout Customization

TabControl allows you to customize a tab layout in various ways.

Expanded Tab Position

Tab position can be defined via the TabControlSettingsBase.TabPosition property.

Expanded Tab Align

To align tabs in the defined position, use the ASPxTabControlBase.TabAlign property. When tabs are positioned to the left or right side, TabAlign defines their vertical alignment. In this instance, the Left value is treated as Top and the Right value is always treated as Bottom.

Expanded Tab Scrolling

To enable tab scrolling, set the TabControlSettingsBase.EnableTabScrolling property to true. In this case, if the TabControl's size doesn't allow all tabs to be visible within the tab header simultaneously, specific scroll buttons are displayed allowing end-users to scroll tabs. Note that tab scrolling works only when the tab header is positioned on the top or bottom side.

Expanded Multi-Row Tabs

To display a tab header in several rows, set the TabBase.NewLine (via MVCxTab.NewLine) property of the required tab, which starts a new line, to true. Note that multi-row tab representation works only when the tab header is positioned on the TabControl's top or bottom and tab scrolling is disabled.

Is this topic helpful?​​​​​​​