Back to Devexpress

MVCxRibbonContextTabCategory Class

aspnetmvc-devexpress-dot-web-dot-mvc-4ead2d42.md

latest3.3 KB
Original Source

MVCxRibbonContextTabCategory Class

An individual context tab category in the Ribbon extension.

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public class MVCxRibbonContextTabCategory :
    RibbonContextTabCategory
vb
Public Class MVCxRibbonContextTabCategory
    Inherits RibbonContextTabCategory

The following members return MVCxRibbonContextTabCategory objects:

Remarks

A context tab category is a container for context tabs, which are hidden tabs that are displayed on demand, e.g., when a corresponding element, such as an image or a table, is selected.

The MVCxRibbonContextTabCategory class contains the settings which define an individual context tab category in the Ribbon extension. All context tab categories are stored in the RibbonSettings.ContextTabCategories collection. Individual categories can be accessed using index notation.

The collection of context tabs, which are represented by the MVCxRibbonTab objects contained in a category, can be accessed by the MVCxRibbonContextTabCategory.Tabs property. You can specify a category color using the RibbonContextTabCategory.Color property. To manually change a categories visibility based on a selected element, use the client-side ASPxClientRibbon.SetContextTabCategoryVisible method.

Online Demo

Ribbon - Context Tabs

Implements

IStateManager

DevExpress.Web.Internal.IPropertiesDirtyTracker

DevExpress.Web.Internal.IWebControlObject

IPropertiesOwner

IExpressionsAccessor

DevExpress.Web.Design.IDesignTimeCollectionItem

Inheritance

Object StateManager CollectionItem RibbonContextTabCategory MVCxRibbonContextTabCategory

See Also

MVCxRibbonContextTabCategory Members

DevExpress.Web.Mvc Namespace