RibbonListViewItems 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 containing all items in this RibbonListView.
Syntax
public RibbonListView.RibbonListViewItemCollection RibbonListViewItems { get; }Public ReadOnly Property RibbonListViewItems As RibbonListView.RibbonListViewItemCollectionExamples
The following example iterates through the ribbon list view items collection and processes each ribbon list view item.
foreach (TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem ribbonListViewItem in ribbonListView.RibbonListViewItems)
{
ribbonListViewItem.Text = "Quarterly results";
}For Each ribbonListViewItem As TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem In ribbonListView.RibbonListViewItems
ribbonListViewItem.Text = "Quarterly results"
NextLimitations
Read only.
If the ItemsSource property is set to a value which is not null, all RibbonListViewItemCollection methods which can be used to change this collection are disabled.