Tab

RibbonContextTabCategory.Name Property

Gets the name that uniquely identifies the context tab category.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

[DefaultValue("")]
public string Name { get; set; }

Property Value

Type Default Description
String

String.Empty

A string value that specifies the category name.

Remarks

The Name property specifies the unique identifier name for the current context tab category. This property can be used at runtime to obtain a particular category specified by its unique identifier name (by using the RibbonContextTabCategoryCollection<T>.FindByName method) rather than by its index and display text.

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