# Toolbox and XAML Designer

> Fix toolbox and XAML Designer problems of TX Text Control .NET for WPF: the restart prompt, a missing toolbox tab, bars that aren't connected, old versions.

- **Product:** TX Text Control .NET for WPF
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET for WPF > Troubleshooting > Toolbox and XAML Designer
- **947 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/troubleshooting/toolbox/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/troubleshooting/toolbox/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/troubleshooting/toolbox/llms-full.txt

---

In a WPF project, you add the `TextControl` and its bars from the toolbox tab **TX Text Control 34.0** to the XAML of a window, and the XAML Designer shows them. The first control you add and the connections between the controls are where most problems start. [Visual Studio Toolbox and XAML Designer](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/installation/toolbox/llms-full.txt) describes how the toolbox works when everything is in place.

### The XAML Designer Asks to Restart

When you add the first control of TX Text Control from the toolbox, Visual Studio shows a dialog box with this text:

```text
The following reference has been added to the project:
"TXTextControl.WPF"
In order to use types from the new reference, press OK to restart the XAML Designer. After the XAML Designer restarts, re-create the control on the artboard.
```

Visual Studio added the reference to *TXTextControl.WPF* to the project, and the XAML Designer can use its types only after a restart. This happens once, for the first control.

1. Click **OK** to restart the XAML Designer.
2. Choose **Build** > **Build Solution**, or **Rebuild Solution** if the designer still shows an error.
3. Add the control again from the toolbox.

### The Toolbox Tab Is Missing

In a WPF project for .NET 8 or higher, the toolbox has no tab **TX Text Control 34.0**.

The toolbox items come from the NuGet package: `TXTextControl.TextControl.WPF.SDK` registers them for WPF projects when it is installed. Visual Studio shows only the items the current project can use. The packages of the Text Control Private NuGet Feed are meant for compiling and contain no design-time components; the designer needs the complete setup on the development machine.

1. Install the setup of the full or trial version on the development machine. See [Installing the Product](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/installation/setup/llms-full.txt).
2. Install `TXTextControl.TextControl.WPF.SDK` from **Text Control Offline Packages**, as [Installing and Updating Packages](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/installation/nuget/install-update/llms-full.txt) describes.
3. Open the XAML of a window in the designer and look for the tab **TX Text Control 34.0**.

### The Controls Aren't Where They Used to Be

After an upgrade to a new major version, you can't find the controls in the toolbox tab you used before.

The toolbox tab is named after the major version: the items of version 34.0 are in the tab **TX Text Control 34.0**, those of 33.0 were in **TX Text Control 33.0**. The items themselves are the same.

1. Look for the tab **TX Text Control 34.0**.
2. If the project still references the previous version, update it as [Upgrading from Previous Versions](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/installation/upgrading/previous-versions/llms-full.txt) describes.

### The Bars Aren't Connected to the Editor

The button bar, the ruler bars or the status bar are in the window, but they don't change with the text, and the buttons have no effect.

The `TextControl` connects to its bars by name: its properties [ButtonBar](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/buttonbar-property/llms-full.txt), [RulerBar](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/rulerbar-property/llms-full.txt), [VerticalRulerBar](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/verticalrulerbar-property/llms-full.txt) and [StatusBar](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/statusbar-property/llms-full.txt) are empty, or hold a name that no bar has. A misspelled name leaves the bar unconnected without an error.

1. Give each bar a name in XAML.
2. Set the properties of the `TextControl` to exactly these names, in the **Properties** window or in XAML.

[Connections Are Names](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/integration/xaml/#connections-are-names) explains the connection properties, and [Place the Editor in a Window](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/installation/toolbox/#place-the-editor-in-a-window) the order in which to add the controls from the toolbox.

### The Designer Has No Toolbox Support in an Older Version

In a .NET project with version 30.0, the toolbox and the designer don't support TX Text Control.

Version 30.0 supported .NET 5 and .NET 6 without designer and toolbox support for WPF. Version 31.0 added it with the NuGet packages.

1. Update to the current version, 34.0, which supports the designer in Visual Studio 2022 and Visual Studio 2026.

### Related Pages

- [Visual Studio Toolbox and XAML Designer](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/installation/toolbox/llms-full.txt): the toolbox tab and the designer.
- [XAML Namespaces and Assembly References](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/troubleshooting/xaml-namespaces/llms-full.txt): the namespace and the references of the controls.
- [Installation and Package Restore](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/troubleshooting/installation/llms-full.txt): packages that aren't found.

---

## Nearby

- **Previous:** [Installation and Package Restore](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/troubleshooting/installation/llms-full.txt)
- **Next:** [XAML Namespaces and Assembly References](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/troubleshooting/xaml-namespaces/llms-full.txt)
