Skip to content

TabControl

ProGraMajster edited this page Mar 28, 2026 · 1 revision

TabControl

← Back to Control Inventory

Summary

Represents a TabControl control.

Example

var tabs = new TabControl();
tabs.TabPages.Add(new TabPage("Home"));
tabs.TabPages.Add(new TabPage("Settings"));

Documented Properties

Name Summary
SelectedIndex Gets or sets the index of the currently selected tab page. This value will be -1 if there is not a selected tab page;
SelectedTabPage Gets or sets the currently selected tab page.
TabPages Gets the collection of tabs contained by this TabControl.

Documented Methods

Name Summary
#ctor Initializes a new instance of the TabControl class.
OnPaint No XML summary yet.
OnSelectedIndexChanged Raises the SelectedIndexChanged event.

Documented Events

Name Summary
SelectedIndexChanged Raised when the value of the SelectedIndex property changes.

Notes

  • This page was generated from the public XML documentation of ModernFormsNext.
  • Base members inherited from Control, ScrollableControl, WindowBase, or other parent types may not all be repeated here.

Clone this wiki locally