# TextControl.ShowMiniToolbar Property

> Gets or sets a value indicating whether a mini-toolbar is shown. A mini-toolbar is a small popup window with formatting options for the current context of the document. The bitwise or operator can be used to combine the values listed below.

- **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.ShowMiniToolbar Property
- **435 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/showminitoolbar-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/showminitoolbar-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/showminitoolbar-property/llms-full.txt

---

### Description

Gets or sets a value indicating whether a mini-toolbar is shown. A mini-toolbar is a small popup window with formatting options for the current context of the document. The bitwise or operator can be used to combine the values listed below.

### Syntax

```csharp
public MiniToolbarButton ShowMiniToolbar { get; set; }
```

```vbnet
Public Property ShowMiniToolbar As MiniToolbarButton
```

### Members

| Value | Description |
|---|---|
| LeftButton | A mini-toolbar is shown when the left mouse button is released and text is selected. |
| RightButton | A mini-toolbar is shown when the right mouse button is released. |
| None | A mini-toolbar is never shown. |

### Examples

The following example uses `TextControl.ShowMiniToolbar` to configure show mini toolbar as part of the text control workflow. The configured value is checked before the workflow continues.

```csharp
textControl.ShowMiniToolbar = MiniToolbarButton.LeftButton;
Console.WriteLine($"Show Mini Toolbar used by Text Control: {textControl.ShowMiniToolbar}");
```

```vbnet
textControl.ShowMiniToolbar = MiniToolbarButton.LeftButton
Console.WriteLine($"Show Mini Toolbar used by Text Control: {textControl.ShowMiniToolbar}")
```

---

## Nearby

- **Previous:** [TextControl.SelectWord Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/selectword-method/llms-full.txt)
- **Next:** [TextControl.SignatureFieldClicked Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/signaturefieldclicked-event/llms-full.txt)
