ContextualTabGroupCollection 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
- List<Contextual
Tab Group> - Contextual
Tab Group Collection
- List<Contextual
Description
The ContextualTabGroupCollection class represents all groups of ribbon tabs which are only shown in a certain context. Each ContextualTabGroup object contained in the collection represents one group of tabs. A Ribbon control manages a collection of contextual tab groups, which is available through the ContextualTabGroups property.
Syntax
public class ContextualTabGroupCollection : List<ContextualTabGroup>Public Class ContextualTabGroupCollection
Inherits List(Of ContextualTabGroup)Examples
The following example includes the capacity value from a Contextual Tab Group Collection object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Capacity: {contextualTabGroupCollection.Capacity}");
Console.WriteLine("Contextual Tab Group Collection is ready for use.");Console.WriteLine($"Capacity: {contextualTabGroupCollection.Capacity}")
Console.WriteLine("Contextual Tab Group Collection is ready for use.")Members
Methods
| Method | Description |
|---|---|
| Add | Not described in the reference. public void Add(ContextualTabGroup group); |