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: X15.


public event MiniToolbarOpeningHandler MiniToolbarOpening;
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.

Further Reading

Learn more about the TXTextControl.TextControl.MiniToolbarOpening Event in the Text Control Blog: