TXTextControl.TextControl.MiniToolbarOpening Event

Occurs to handle displaying context sensitive mini toolbars. The event handler receives an argument of type MiniToolbarOpeningEventArgs containing data related to this event. The event itself is raised if the ShowMiniToolbar property is set to a value that is not MiniToolbarButton.None and the corresponding mouse button is raised.

Introduced: 25.0.


public event MiniToolbarOpeningHandler MiniToolbarOpening;
[Visual Basic]
Public Event MiniToolbarOpening As MiniToolbarOpeningEventHandler


It is recommended to handle this event for toggling the visibility of added or built-in context sensitive items of the TextMiniToolbar or ObjectMiniToolbar. Determining their structure should be handled by the TextControl.TextMiniToolbarInitialized or TextControl.ObjectMiniToolbarInitialized event. Furthermore the MiniToolbarOpeningEventArgs.MiniToolbar property can be used as an interface to set custom context sensitive mini toolbars.

See Also