Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Collapse]Site Navigation and Layout
   [Expand]Product Information
   [Expand]Form Layout
   [Expand]Menu
   [Expand]Navigation Bar
   [Collapse]Page Control and Tab Control
     ASPxTabControl Overview
    [Collapse]Concepts
     [Expand]Data Binding
      Tab Layout Customization
      Templates
      Tab Control vs Page Control
    [Expand]Visual Elements
    [Expand]Examples
    Panel Overview
   [Expand]Ribbon
   [Expand]Site Map Control
   [Expand]Splitter
   [Expand]Tag Cloud Control
   [Expand]Title Index
   [Expand]TreeView
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]Scheduler
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [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]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Tab Layout Customization

ASPxTabControl and ASPxPageControl allow you to customize a tab layout in various ways.

Expanded Tab Position

Tab position can be defined via the ASPxTabControlBase.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 of the control, 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 ASPxTabControlBase.EnableTabScrolling property to true. In this case, if the control'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 control's top or bottom.

Expanded Multi-Row Tabs

To display a tab header in several rows, set the TabBase.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 control's top or bottom and tab scrolling is disabled.

How would you rate this topic?​​​​​​​