Click or drag to resize

TabControl Class

Control to present multiple pages with a tab selection
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
[ContentPropertyAttribute("Pages")]
public class TabControl : Container

The TabControl type exposes the following members.

Constructors
  NameDescription
Public methodTabControl
Initializes a new instance of the TabControl class.
Protected methodTabControl(TabControlIHandler)
Initializes a new instance of the TabControl class with the specified handler.
Top
Properties
  NameDescription
Public propertyControls
Gets an enumeration of controls that are directly contained by this container
(Overrides ContainerControls.)
Public propertyPages
Gets the collection of tab pages.
Public propertySelectedIndex
Gets or sets the index of the selected tab.
Public propertySelectedIndexBinding
Gets the binding for the SelectedIndex property.
Public propertySelectedPage
Gets or sets the currently selected page.
Public propertyTabPosition
Gets or sets the position of the tabs relative to the content.
Top
Methods
Events
  NameDescription
Public eventSelectedIndexChanged
Occurs when the SelectedIndex is changed.
Top
Remarks
Some platforms (e.g. OS X) have limitations on how many tabs are visible. It is advised to utilize different methods (e.g. a listbox or combo box) to switch between many sections if there are too many tabs.
See Also