RibbonContextTabCategory.Tabs Property
In This Article
Gets the collection of tabs contained in the current context tab category.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public RibbonTabCollection Tabs { get; }
#Property Value
Type | Description |
---|---|
Ribbon |
A Ribbon |
#Remarks
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.
#Example
#Online Demo
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