# RibbonListView.RibbonListViewItemCollection Class

> An instance of the RibbonListViewItemCollection class contains controls of type RibbonListViewItem and can be obtained with the RibbonListView.RibbonListViewItems property. It is inherited from the abstract class System.Collections.CollectionBase and implements the System.Collections.IEnumerable and System.Collections.IEnumerator interfaces. The following describes only the properties, methods and events defined through the RibbonListViewItemCollection class. For a list of properties, methods and events of these classes and interfaces see the .NET Framework reference.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.Windows.Forms.Ribbon`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Inherits:** `System.Collections.CollectionBase`
- **Implements:** `System.Collections.IEnumerator`
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms.Ribbon > RibbonListView.RibbonListViewItemCollection Class
- **822 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-ribbonlistviewitemcollection/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-ribbonlistviewitemcollection/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-ribbonlistviewitemcollection/llms-full.txt

---

### Description

An instance of the RibbonListViewItemCollection class contains controls of type [RibbonListViewItem](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-ribbonlistviewitem/llms-full.txt) and can be obtained with the [RibbonListView.RibbonListViewItems](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/ribbonlistviewitems-property/llms-full.txt) property. It is inherited from the abstract class `System.Collections.CollectionBase` and implements the `System.Collections.IEnumerable` and `System.Collections.IEnumerator` interfaces. The following describes only the properties, methods and events defined through the RibbonListViewItemCollection class. For a list of properties, methods and events of these classes and interfaces see the .NET Framework reference.

### Syntax

```csharp
public class RibbonListView.RibbonListViewItemCollection : CollectionBase, IEnumerator
```

```vbnet
Public Class RibbonListView.RibbonListViewItemCollection
    Inherits CollectionBase
    Implements IEnumerator
```

### Examples

The following example includes the item value from a Ribbon List View Item Collection object in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Item: {ribbonListViewItemCollection[10]}");
Console.WriteLine("Ribbon List View Item Collection is ready for use.");
```

```vbnet
Console.WriteLine($"Item: {ribbonListViewItemCollection.Item(10)}")
Console.WriteLine("Ribbon List View Item Collection is ready for use.")
```

---

## In This Section

- [RibbonListView.RibbonListViewItemCollection.Add Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-ribbonlistviewitemcollection/add-method/llms-full.txt): Adds an item of the type RibbonListViewItem to the end of this collection.
- [RibbonListView.RibbonListViewItemCollection.Item Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-ribbonlistviewitemcollection/item-property/llms-full.txt): Gets an item of type RibbonListViewItem from this collection. This property is the indexer for the RibbonListViewItemCollection class.

---

## Nearby

- **Previous:** [RibbonListView.RibbonListViewItem.ToolTip Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-ribbonlistviewitem/tooltip-property/llms-full.txt)
- **Next:** [RibbonListView.RibbonListViewItemCollection.Add Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-ribbonlistviewitemcollection/add-method/llms-full.txt)
