# RibbonListView.ViewMode Property

> Gets or sets the mode in which this RibbonListView displays its items. All values can be combined with each other. The default value is ListViewMode.Icon.

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

---

### Description

Gets or sets the [mode](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-listviewmode/enumeration/llms-full.txt) in which this RibbonListView displays its items. All values can be combined with each other. The default value is `ListViewMode.Icon`.

### Syntax

```csharp
public RibbonListView.ListViewMode ViewMode { get; set; }
```

```vbnet
Public Property ViewMode As RibbonListView.ListViewMode
```

### Examples

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

```csharp
ribbonListView.ViewMode = TXTextControl.Windows.Forms.Ribbon.RibbonListView.ListViewMode.Icon;
ribbonListView.Update();
```

```vbnet
ribbonListView.ViewMode = TXTextControl.Windows.Forms.Ribbon.RibbonListView.ListViewMode.Icon
ribbonListView.Update()
```

---

## Nearby

- **Previous:** [RibbonListView.ToolTip Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/tooltip-property/llms-full.txt)
- **Next:** [RibbonMenuButton Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonmenubutton/llms-full.txt)
