May 2010
Intermediate to advanced
1272 pages
61h 18m
English
TabControlThe TabControl enables splitting an area into tabs. Each tab is represented by a TabItem object, and tabs are enclosed within a TabControl.TabItems collection. The following code demonstrates how you can implement a TabControl with both standard and customized tabs:

You set the tab header content assigning the Header property for each TabItem and then nest controls within the element. Notice how you can customize tabs by setting Foreground and Background and declaring the Header in a hierarchical fashion to place multiple elements. Figure 32.20 shows the TabControl implementation.
Figure 32.20 Implementing a TabControl.
You can also ...
Read now
Unlock full access