# TextControl.OnTextMiniToolbarInitialized Method

> Raises the TextMiniToolbarInitialized event.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 25.0
- **Not found:** no package of this release declares a member of this name; the type declares `OnTextMiniToolbarInitalized`
- **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.OnTextMiniToolbarInitialized Method
- **459 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/ontextminitoolbarinitialized-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/ontextminitoolbarinitialized-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/ontextminitoolbarinitialized-method/llms-full.txt

---

### Description

Raises the TextMiniToolbarInitialized event.

### Syntax

No package of this release declares this member; the type declares OnTextMiniToolbarInitalized. The declaration below is the reference's.

```csharp
protected virtual void OnTextMiniToolbarInitialized(WPF.MiniToolbarInitializedEventArgs e);
```

```vbnet
Protected Overridable Sub OnTextMiniToolbarInitialized(ByVal e As WPF.MiniToolbarInitializedEventArgs )
```

### Parameters

| Parameter | Description |
|---|---|
| e | Specifies a [WPF.MiniToolbarInitializedEventArgs](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/minitoolbarinitializedeventargs/llms-full.txt) object that contains the event data. |

### Examples

The current WPF API retains the historical `Initalized` spelling in the event name. The following example handles the supported event to customize the text mini toolbar when TX Text Control creates it.

```csharp
textControl.TextMiniToolbarInitalized += (_, e) =>
{
    Console.WriteLine("The text mini toolbar is ready for application-specific commands.");
};
```

```vbnet
AddHandler textControl.TextMiniToolbarInitalized,
    Sub(sender, e)
        Console.WriteLine("The text mini toolbar is ready for application-specific commands.")
    End Sub
```

---

## Nearby

- **Previous:** [TextControl.OnTextFrameSized Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/ontextframesized-method/llms-full.txt)
- **Next:** [TextControl.OnTrackedChangeChanged Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/ontrackedchangechanged-method/llms-full.txt)
