# TextControl.RibbonPermissionsTab Property

> Specifies the name of the WPF.RibbonPermissionsTab object to be used with a TextControl. The elements of the ribbon tab can be used for determining how the document can be edited, when it is enforced to be protected. 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:** 25.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.RibbonPermissionsTab Property
- **486 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/ribbonpermissionstab-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/ribbonpermissionstab-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/ribbonpermissionstab-property/llms-full.txt

---

### Description

Specifies the name of the [WPF.RibbonPermissionsTab](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/ribbonpermissionstab/llms-full.txt) object to be used with a TextControl. The elements of the ribbon tab can be used for determining how the document can be edited, when it is enforced to be protected. The property value is an empty string, if there is no ribbon tab connected.

### Syntax

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

```vbnet
Public Property RibbonPermissionsTab As String
```

### Examples

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

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

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

---

## Nearby

- **Previous:** [TextControl.RibbonPageLayoutTab Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/ribbonpagelayouttab-property/llms-full.txt)
- **Next:** [TextControl.RibbonProofingTab Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/ribbonproofingtab-property/llms-full.txt)
