# RibbonListView.HideSelectedItems Property

> Gets or sets a value indicating whether the selected RibbonListViewItems are highlighted inside the RibbonListView or not. The default value is false.

- **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.HideSelectedItems Property
- **335 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/hideselecteditems-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/hideselecteditems-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/hideselecteditems-property/llms-full.txt

---

### Description

Gets or sets a value indicating whether the [selected](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/selecteditems-property/llms-full.txt) [RibbonListViewItems](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-ribbonlistviewitem/llms-full.txt) are highlighted inside the RibbonListView or not. The default value is false.

### Syntax

```csharp
public bool HideSelectedItems { get; set; }
```

```vbnet
Public Property HideSelectedItems As Boolean
```

### Examples

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

```csharp
ribbonListView.HideSelectedItems = true;
ribbonListView.Update();
```

```vbnet
ribbonListView.HideSelectedItems = True
ribbonListView.Update()
```

---

## Nearby

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