Represents a collection of tabs within the BootstrapTabControl.
public class BootstrapTabCollection : TabCollection
Public Class BootstrapTabCollection Inherits TabCollection
A tab control holds its tabs within a collection which is represented by an instance of the BootstrapTabCollection class and can be accessed using the BootstrapTabControl.Tabs property. The properties and methods exposed by the BootstrapTabCollection class can be used to perform common collection operations such as adding new or deleting existing tabs. Each item of the collection is represented by a BootstrapTab object. Individual tabs can be accessed using indexer notation, by their names or display texts using the specific methods of the collection.
This example demonstrates the basic functionality of the Tab control.
The image below demonstrates the result:
<dx:BootstrapTabControl runat="server"> <Tabs> <dx:BootstrapTab Text="Home"> </dx:BootstrapTab> <dx:BootstrapTab Text="Products"> </dx:BootstrapTab> <dx:BootstrapTab Text="Support"> </dx:BootstrapTab> </Tabs> </dx:BootstrapTabControl>