# RibbonListView.ItemsSource Property

> Gets or sets an array of RibbonListViewItems used to generate the content of this RibbonListView. The default value is null.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **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
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms.Ribbon > RibbonListView.ItemsSource Property
- **572 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/itemssource-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/itemssource-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/itemssource-property/llms-full.txt

---

### Description

Gets or sets an array of [RibbonListViewItems](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-ribbonlistviewitem/llms-full.txt) used to generate the [content](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/ribbonlistviewitems-property/llms-full.txt) of this RibbonListView. The default value is null.

### Syntax

```csharp
public RibbonListView.RibbonListViewItem[] ItemsSource { get; set; }
```

```vbnet
Public Property ItemsSource As RibbonListView.RibbonListViewItem()
```

### Examples

The following example uses `RibbonListView.ItemsSource` to configure items source as part of the ribbon list view workflow. The change is then applied to the active document or user interface.

```csharp
ribbonListView.ItemsSource = new TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem[] { new TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem() };
ribbonListView.Update();
```

```vbnet
ribbonListView.ItemsSource = New TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem() { New TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem() }
ribbonListView.Update()
```

### Remarks

If this property is set to a value that is not null, all [RibbonListViewItemCollection](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-ribbonlistviewitemcollection/llms-full.txt) methods which can be used to change the RibbonListView's [items](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/ribbonlistviewitems-property/llms-full.txt) collection are disabled.

---

## Nearby

- **Previous:** [RibbonListView.ItemMouseUp Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/itemmouseup-event/llms-full.txt)
- **Next:** [RibbonListView.KeyTip Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/keytip-property/llms-full.txt)
