TX Text Control .NET for Windows Forms

ContextualTabGroups Property

Property|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets a collection of all contextual tab groups of this ribbon. The collection can be used to add or remove items and to set item properties. The property value is an object of the type Windows.Forms.Ribbon.ContextualTabGroupCollection

Syntax

public ContextualTabGroupCollection ContextualTabGroups { get; }

Examples

The following example iterates through the contextual tab groups collection and processes each contextual tab group.

foreach (TXTextControl.Windows.Forms.Ribbon.ContextualTabGroup contextualTabGroup in ribbon.ContextualTabGroups)
{
    contextualTabGroup.Name = "CustomerName";
}

Limitations

Read only.