RibbonContextTabCategoryCollection Class
A collection of context tab categories in the ASPxRibbon control.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
public class RibbonContextTabCategoryCollection :
RibbonContextTabCategoryCollection<RibbonContextTabCategory>
Related API Members
The following members return RibbonContextTabCategoryCollection objects:
Remarks
A ribbon control holds its context tab categories in a collection represented by an instance of the RibbonContextTabCategoryCollection class and can be accessed by the ASPxRibbon.ContextTabCategories property. The properties and methods exposed by the RibbonContextTabCategoryCollection class can be used to perform common collection operations such as adding new or deleting existing categories. Each item of the collection is represented by a RibbonContextTabCategory object. Individual categories can be accessed using indexer notation.
<dx:ASPxRibbon ID="ASPxRibbon" runat="server">
...
<ContextTabCategories>
<dx:RibbonContextTabCategory Name="Picture tools" Color="#d31313" ClientVisible="true">
<Tabs>
<dx:RibbonTab 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>