TabControl::SelectTab Method (TabPage^)
.NET Framework (current version)
Makes the specified TabPage the current tab.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | |
| ArgumentNullException | tabPage is null. |
Use this method to programmatically select a particular tab in a TabControl.
.NET Framework
Available since 2.0
Available since 2.0
Show: