ContextualTabGroups Property
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
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; }Public ReadOnly Property ContextualTabGroups As ContextualTabGroupCollectionExamples
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";
}For Each contextualTabGroup As TXTextControl.Windows.Forms.Ribbon.ContextualTabGroup In ribbon.ContextualTabGroups
contextualTabGroup.Name = "CustomerName"
NextLimitations
Read only.