# TextControl.RibbonViewTab Property

> Specifies the name of the WPF.RibbonViewTab object to be used with a TextControl. The elements of the ribbon tab can be used to alter the document's view. The property value is an empty string, if there is no ribbon tab connected.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > TextControl.RibbonViewTab Property
- **459 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/ribbonviewtab-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/ribbonviewtab-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/ribbonviewtab-property/llms-full.txt

---

### Description

Specifies the name of the [WPF.RibbonViewTab](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/ribbonviewtab/llms-full.txt) object to be used with a TextControl. The elements of the ribbon tab can be used to alter the document's view. The property value is an empty string, if there is no ribbon tab connected.

### Syntax

```csharp
public string RibbonViewTab { get; set; }
```

```vbnet
Public Property RibbonViewTab As String
```

### Examples

The following example uses `TextControl.RibbonViewTab` to configure ribbon view tab as part of the text control workflow. The configured value is checked before the workflow continues.

```csharp
textControl.RibbonViewTab = "Quarterly report";
if (!string.IsNullOrWhiteSpace(textControl.RibbonViewTab))
{
    Console.WriteLine($"Ribbon View Tab: {textControl.RibbonViewTab}");
}
```

```vbnet
textControl.RibbonViewTab = "Quarterly report"
If Not String.IsNullOrWhiteSpace(textControl.RibbonViewTab) Then
    Console.WriteLine($"Ribbon View Tab: {textControl.RibbonViewTab}")
End If
```

---

## Nearby

- **Previous:** [TextControl.RibbonTableLayoutTab Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/ribbontablelayouttab-property/llms-full.txt)
- **Next:** [TextControl.RulerBar Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/rulerbar-property/llms-full.txt)
