TX Text Control .NET for Windows Forms

ContextualTabGroupCollection Class

Class|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Windows.Forms.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.Windows.Forms.dll from the setup.
Inherits
  1. List<ContextualTabGroup>
  2. ContextualTabGroupCollection

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>

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.");

Members

Methods

MethodDescription
AddNot described in the reference. public void Add(ContextualTabGroup group);