aspnet-devexpress-dot-web-dot-ribboncontexttabcategory-709116c4.md
Gets the collection of tabs contained in the current context tab category.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public RibbonTabCollection Tabs { get; }
Public ReadOnly Property Tabs As RibbonTabCollection
| Type | Description |
|---|---|
| RibbonTabCollection |
A RibbonTabCollection object that is the collection of tabs.
|
The Tabs property provides access to a collection that contains all the tabs of the current context tab category. This collection provides standard means to manipulate (add or remove) tabs within the tab control. A particular tab can be accessed using index notation.
The complete sample is available in the Context Tabs online demo.
<dx:ASPxRibbon ID="ASPxRibbon" runat="server" >
<Tabs>...</Tabs>
<ContextTabCategories>
<dx:RibbonContextTabCategory Name="Picture tools" Color="#d31313" ClientVisible="true">
<Tabs>
<dx:RibbonTab Name="Format" Text="Format">...</dx:RibbonTab>
</Tabs>
</dx:RibbonContextTabCategory>
<dx:RibbonContextTabCategory Name="Table tools" Color="#17a300" ClientVisible="true">
<Tabs>
<dx:RibbonTab Text="Design">...</dx:RibbonTab>
<dx:RibbonTab Text="Layout">...</dx:RibbonTab>
</Tabs>
</dx:RibbonContextTabCategory>
</ContextTabCategories>
</dx:ASPxRibbon>
See Also
RibbonContextTabCategory Class