TX Text Control .NET for Windows Forms

MiniToolbarInitializedEventArgs Class

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

Description

The MiniToolbarInitializedEventArgs class provides data for the TextControl.TextMiniToolbarInitialized or TextControl.ObjectMiniToolbarInitialized event of a Windows Forms TextControl just after the pre-defined TextMiniToolbar or 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 uses MiniToolbarInitializedEventArgs.MiniToolbar while handling TextMiniToolbarInitialized.

textControl.TextMiniToolbarInitialized += (_, e) =>
{
    e.MiniToolbar?.Select();
};

Members

Properties

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