# TextControlToolBar Class

> The WPF.TextControlToolBar class is the base class of the WPF.RulerBar and the WPF.StatusBar classes. It is inherited from the System.Windows.Controls.Control class and implements a template which consists of a System.Windows.Controls.Border element and a WPF.TextControlToolBarPresenter.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Class
- **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
- **Inherits:** `System.Windows.Controls.Control`
- **Derived:** `TXTextControl.WPF.RulerBar`, `TXTextControl.WPF.StatusBar`
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > TextControlToolBar Class
- **437 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontroltoolbar/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontroltoolbar/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontroltoolbar/llms-full.txt

---

### Description

The WPF.TextControlToolBar class is the base class of the [WPF.RulerBar](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/rulerbar/llms-full.txt) and the [WPF.StatusBar](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/llms-full.txt) classes. It is inherited from the `System.Windows.Controls.Control` class and implements a template which consists of a `System.Windows.Controls.Border` element and a [WPF.TextControlToolBarPresenter](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontroltoolbarpresenter/llms-full.txt).

### Syntax

```csharp
public abstract class TextControlToolBar : Control
```

```vbnet
Public MustInherit Class TextControlToolBar
    Inherits Control
```

### Examples

The following example includes the border brush value from a Text Control Tool Bar object in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Border Brush: {textControlToolBar.BorderBrush}");
Console.WriteLine("Text Control Tool Bar is ready for use.");
```

```vbnet
Console.WriteLine($"Border Brush: {textControlToolBar.BorderBrush}")
Console.WriteLine("Text Control Tool Bar is ready for use.")
```

### Members

| Member | Description |
|---|---|

---

## Nearby

- **Previous:** [TextControlDocument Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontroldocument/llms-full.txt)
- **Next:** [TextControlToolBarPresenter Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontroltoolbarpresenter/llms-full.txt)
