THEMES
THEME SETTINGS

Navigation and Layout - Ribbon Context Tabs

A context tab is a hidden tab that is displayed on demand, e.g., when a corresponding element, such as an image or a table, is selected. One element can correspond to several context tabs. Therefore, the tabs are combined into categories. The collection of categories is accessible by the ContextTabCategories property.

You can specify the following category properties.

  • The Name property specifies the name of the category.
  • The Color property specifies the color of a category tab's header.
  • The Tabs property contains a collection of category tabs.

To change the visibility of category tabs, use the SetContextTabCategoryVisible method.

In this demo, two context tab categories are provided.

  • The Picture tools category provides a Layout tab containing image-related items.
  • The Table tools category provides Design and Layout tabs containing table-related items.
Version: v2017 vol 1.3
Copyright © 2006-2017 Developer Express Inc
Your Next Great MVC App Starts Here

Get started today and download your 30-day trial of DevExpress MVC Extensions (includes 30 days of free technical support).

All demos ship with full source code and are included in the DevExpress MVC distribution. Refer to the Demos and Sample Applications topic to learn more.

DevExpress MVC Extensions ship as part of DevExpress Universal, DXperience and ASP.NET Subscriptions and are backed by a 60 day unconditional money-back guarantee.
To learn more and obtain pricing information, visit the Compare Features and Pricing webpage. For immediate assistance, contact us by Email at info@devexpress.com or by phone at +1 (818) 844-3383 between 7:30am and 4:30pm Pacific Time.