MiniToolbarInitializedEventArgs Class
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.Windows. Forms. dll
- Inherits
- Event
Args - Mini
Toolbar Initialized Event Args
- Event
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 : EventArgsPublic Class MiniToolbarInitializedEventArgs
Inherits EventArgsExamples
The following example uses MiniToolbarInitializedEventArgs.MiniToolbar while handling TextMiniToolbarInitialized.
textControl.TextMiniToolbarInitialized += (_, e) =>
{
e.MiniToolbar?.Select();
};AddHandler textControl.TextMiniToolbarInitialized,
Sub(sender, e)
If e.MiniToolbar IsNot Nothing Then e.MiniToolbar.Select()
End SubMembers
Properties
| Property | Description |
|---|---|
| MiniToolbar | Considering 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. |