The selection to the given tab, provided it .equals a tab in the list. The return value is the index of the tab that was selected, or-1 if no tab was selected.
[Visual Basic] Public Property SelectedTab As TabPage [C#] public TabPage SelectedTab {get; set;} [C++] public: __property TabPage* get_SelectedTab(); public: __property void set_SelectedTab(TabPage*); [JScript] public function get SelectedTab() : TabPage; public function set SelectedTab(TabPage);
TabControl Class | TabControl Members | System.WinForms Namespace