TX Text Control .NET for WPF

MiniToolbarInitializedEventArgs Class

Class|Introduced in 25.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.WPF.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.WPF.dll from the setup.
Inherits
  1. EventArgs
  2. MiniToolbarInitializedEventArgs

Description

The WPF.MiniToolbarInitializedEventArgs class provides data for the WPF.TextControl.TextMiniToolbarInitialized or WPF.TextControl.ObjectMiniToolbarInitialized event of a WPF.TextControl just after the pre-defined WPF.TextMiniToolbar or WPF.ObjectMiniToolbar was created. Its MiniToolbar property provides the corresponding mini toolbar, which can be altered, extended or completely replaced to determine its basic structure.

Syntax

public class MiniToolbarInitializedEventArgs : EventArgs

Examples

The following example includes the mini toolbar value from a Mini Toolbar Initialized Event Args object in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Mini Toolbar: {miniToolbarInitializedEventArgs.MiniToolbar}");
Console.WriteLine("Mini Toolbar Initialized Event Args is ready for use.");

Members

Properties

PropertyDescription
MiniToolbarConsidering which event (WPF.TextControl.TextMiniToolbarInitialized or WPF.TextControl.ObjectMiniToolbarInitialized) is raised the property provides an object of type WPF.TextMiniToolbar or WPF.ObjectMiniToolbar that can be altered, extended or completely replaced. The property value is of the type WPF.MiniToolbar.