ParentCollection 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 the RibbonItemCollection that contains this RibbonComboBox.
Syntax
public RibbonItemCollection ParentCollection { get; }Public ReadOnly Property ParentCollection As RibbonItemCollectionExamples
The following example iterates through the parent collection collection and processes each control.
foreach (System.Windows.Forms.Control control in ribbonComboBox.ParentCollection)
{
control.Text = "Quarterly results";
}For Each control As System.Windows.Forms.Control In ribbonComboBox.ParentCollection
control.Text = "Quarterly results"
NextLimitations
Read only.