TextMiniToolbarInitialized Event
- Not found
- No package of this release declares a member of this name. The type declares
TextMiniToolbarInitalized.
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Occurs immediately after the built-in WPF.TextMiniToolbar was initialized. The event handler receives an argument of type WPF.MiniToolbarInitializedEventArgs containing the TextMiniToolbar that was created. The event is raised if the ShowMiniToolbar property is set to MiniToolbarButton.LeftButton, MiniToolbarButton.RightButton or MiniToolbarButton.LeftButton | MiniToolbarButton.RightButton.
Syntax
No package of this release declares this member; the type declares TextMiniToolbarInitalized. The declaration below is the reference's.
public event WPF.MiniToolbarInitializedEventHandler TextMiniToolbarInitialized;Public Event TextMiniToolbarInitialized As WPF.MiniToolbarInitializedEventHandlerExamples
The following example records useful context when initialized occurs.
textControl.Initialized += (sender, e) =>
{
Console.WriteLine($"Initialized at {DateTime.Now:u}");
};AddHandler textControl.Initialized,
Sub(sender, e)
Console.WriteLine($"Initialized at {DateTime.Now:u}")
End SubRemarks
It is recommended to handle this event to determine the structure of the WPF.TextMiniToolbar. Toggling the visibility of items should be handled by the WPF.TextControl.MiniToolbarOpening event.