Skip to main content
A newer version of this page is available. .
Tab

RibbonContextTabCategory.Color Property

Specifies the context tab category color.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(typeof(Color), "")]
public Color Color { get; set; }

Property Value

Type Default Description
Color String.Empty

A Color object specifying the color.

Example

Online Demo

The complete sample is available in the Context Tabs online demo.

ASPxRibbon_ContextTabCategories

<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