ContextualTabGroup Class
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.Windows. Forms. dll
- Inherits
- Component
- Contextual
Tab Group
Description
An object of the ContextualTabGroup class represents a group of ribbon tabs which are only shown in a certain context. A Ribbon control manages a ContextualTabGroupCollection object, which is available through the ContextualTabGroups property. It contains all tab groups belonging to the ribbon.
Syntax
public class ContextualTabGroup : ComponentPublic Class ContextualTabGroup
Inherits ComponentExamples
The following example creates a Contextual Tab Group instance and configures its header setting for a document workflow.
using TXTextControl.Windows.Forms.Ribbon.ContextualTabGroup contextualTabGroup = new();
contextualTabGroup.Header = "Quarterly report";Dim contextualTabGroup As New TXTextControl.Windows.Forms.Ribbon.ContextualTabGroup()
contextualTabGroup.Header = "Quarterly report"Members
Constructors
| Constructor | Description |
|---|---|
| ContextualTabGroup | Initializes a new instance of the ContextualTabGroup class. |
Properties
| Property | Description |
|---|---|
| BackColor | Gets or sets the background color of the group's label. |
| ContextualTabs | Gets a list of all RibbonTab objects contained in this group. |
| Header | Gets or sets the group's header. The header's text is shown in the application's caption, when the group is visible. |
| Name | Gets or sets the group's name. |
| Visible | Gets or sets the group's visibility. |