Using the TabControl Control

The TabControl control is an ideal control for the small devices because it allows you to overlay multiple groups of controls. The TabControl stacks pages of control one on top of the other and then allows the user to switch between pages by clicking a pages tab.

Adding a TabControl control to your application can be done at design time using the Form Designer. First, drag a TabControl onto the application's form. Next, to add a TabPage to the TabControl, right-click the TabControl control and select the Add Tab menu option. This will add a TabPage to the TabControl. You can then use the Properties window to customize the TabPage.

Alternatively, you can use the TabPage Collection Editor to add TabPages. To bring up ...

Get Microsoft® .NET Compact Framework Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.