RibbonContextTabCategory.Color Property
In This Article
Specifies the context tab category color.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Color | String. |
A Color object specifying the color. |
#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