#902 – The TabControl Automatically Creates Multiple Rows of Tabs

When you define a series of TabItems for a TabControlthe tabs will be displayed across the top of the control, next to each other.

902-001

 

If you have more tabs than will fit across the top of the TabControl, the tabs will automatically be wrapped to a second row.  The width of each tab will then be adjusted so that the total width of the tabs is spread across the control.

902-002

 

Tabs will also flow to multiple rows if you resize the TabControl so that the tabs no longer fit.  If we make the window shown above wider, the tabs will be moved back onto a single row.

902-003

 

Note that when you have more than one row, clicking on a tab makes that tab’s row the bottom row.

902-004

 

902-005

About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

One Response to #902 – The TabControl Automatically Creates Multiple Rows of Tabs

  1. Pingback: Dew Drop – September 9, 2013 (#1,620) | Morning Dew

Leave a comment