TX Text Control .NET for Windows Forms

RibbonItems 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 items contained in this group. These controls can be objects of type RibbonButton, RibbonComboBox, RibbonLabel, RibbonListView or RibbonTextBox. RibbonGroups of type HorizontalRibbonGroup can also add objects of type RibbonSeperator.

Syntax

public RibbonItemCollection RibbonItems { get; }

Examples

The following example iterates through the ribbon items collection and processes each control.

foreach (System.Windows.Forms.Control control in ribbonGroup.RibbonItems)
{
    control.Text = "Quarterly results";
}

Limitations

Read only.

Further Reading