aspnetbootstrap-devexpress-dot-web-dot-bootstrap-d9d28da2.md
Represents a collection of tabs within the BootstrapTabControl.
Namespace : DevExpress.Web.Bootstrap
Assembly : DevExpress.Web.Bootstrap.v25.2.dll
NuGet Package : DevExpress.Web.Bootstrap
public class BootstrapTabCollection :
TabCollection
Public Class BootstrapTabCollection
Inherits TabCollection
The following members return BootstrapTabCollection objects:
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>
Object StateManagedCollectionBase Collection TabCollectionBase TabCollection BootstrapTabCollection
See Also