# TextControl.RibbonFormattingTab Property

> Specifies the name of the WPF.RibbonFormattingTab object to be used with a TextControl. The elements of the ribbon tab can be used to alter character and paragraph attributes. 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:** 22.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.RibbonFormattingTab Property
- **471 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/ribbonformattingtab-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/ribbonformattingtab-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/ribbonformattingtab-property/llms-full.txt

---

### Description

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

### Syntax

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

```vbnet
Public Property RibbonFormattingTab As String
```

### Examples

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

```csharp
textControl.RibbonFormattingTab = "0.00";
if (!string.IsNullOrWhiteSpace(textControl.RibbonFormattingTab))
{
    Console.WriteLine($"Ribbon Formatting Tab: {textControl.RibbonFormattingTab}");
}
```

```vbnet
textControl.RibbonFormattingTab = "0.00"
If Not String.IsNullOrWhiteSpace(textControl.RibbonFormattingTab) Then
    Console.WriteLine($"Ribbon Formatting Tab: {textControl.RibbonFormattingTab}")
End If
```

---

## Nearby

- **Previous:** [TextControl.ResetContents Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/resetcontents-method/llms-full.txt)
- **Next:** [TextControl.RibbonFormFieldsTab Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/ribbonformfieldstab-property/llms-full.txt)
