Tab

RibbonContextTabCategory.Color Property

Specifies the context tab category color.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

[DefaultValue(typeof(Color), "")]
public Color Color { get; set; }
<DefaultValue(GetType(Color), "")>
Public Property Color As Color

Property Value

Type Default Description
Color

String.Empty

A Color object specifying the color.

Examples

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