TX Text Control .NET for Windows Forms

ParentCollection 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 the RibbonItemCollection that contains this RibbonListView.

Syntax

public RibbonItemCollection ParentCollection { get; }

Examples

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

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

Limitations

Read only.