#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 .NET technologies. Equally passionate about my own personal projects related to family history and preservation of family stories and photos.

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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: