TX Text Control .NET for Windows Forms

RibbonListViewItems 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 containing all items in this RibbonListView.

Syntax

public RibbonListView.RibbonListViewItemCollection RibbonListViewItems { get; }

Examples

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";
}

Limitations

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.