Skip to main content
A newer version of this page is available. .
Tab

TabBase Members

Represents the base class for the Tab and TabPage classes.

Constructors

Name Description
TabBase() Initializes a new instance of the TabBase class.
TabBase(String, String, String) Initializes a new instance of the TabBase class with the specified settings.
TabBase(String, String) Initializes a new instance of the TabBase class with the specified settings.
TabBase(String) Initializes a new instance of the TabBase class using the specified display text.

Properties

Name Description
ActiveTabImage Gets the settings of a tab image displayed within the current tab when the tab is active.
ActiveTabStyle Gets the style of the tab when it’s active.
ActiveTabTemplate Gets or sets a template used for displaying the content of the current tab when it’s active.
ActiveTabTextTemplate For internal use only.
ClientEnabled Gets or sets a value that indicates whether the tab (or tab page) is enabled on the client.
ClientVisible Gets or sets a value that specifies the tab’s initial visibility state on the client.
Collection Gets the collection to which an item belongs. Inherited from CollectionItem.
Controls Gets a collection that contains child controls representing the current object’s content. Inherited from ContentControlCollectionItem.
DataItem Gets the data item that is bound to the tab.
Enabled Gets or sets a value that indicates whether the current tab is enabled, allowing the tab to respond to end-user interactions.
Index Gets or sets the item’s index within the collection. Inherited from CollectionItem.
IsActive Gets a value that indicates whether the current tab is the control’s active tab.
Name Gets or sets the unique identifier name for the current tab object.
NewLine Gets or sets a value that specifies whether the current tab starts a new line.
TabControl Gets the control to which the current tab belongs.
TabImage Gets the settings of an image displayed by the current tab.
TabStyle Gets the style settings of the current tab.
TabTemplate Gets or sets a template used to display the content of the current tab.
TabTextTemplate For internal use only.
Text Gets or sets the text content of the current tab (tab page) object.
ToolTip Gets or sets the current tab’s tooltip text.
Visible Gets or sets a value specifying the visibility of the current tab (tab page).
VisibleIndex Gets or sets a value specifying the position of the current tab (tabbed page) amongst the visible tabs (tabbed pages) in a tab control.

Methods

Name Description
Assign(CollectionItem) Copies the settings from the specified CollectionItem object to the current object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FindControl(String) Searches the current naming container for a server control with the specified id parameter.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the string that represents the current object.
See Also