The MiniToolbarOpeningEventArgs class provides data for the TextControl.MiniToolbarOpening event of a Windows Forms TextControl. This event occurs to handle displaying context sensitive mini toolbars. The MiniToolbarContext property informs for which context the mini-tooolbar will be opened. Depending on that context the pre-defined mini toolbar TextMiniToolbar or ObjectMiniToolbar are provided by the MiniToolbar property.

Syntax

public class MiniToolbarOpeningEventArgs: CancelEventArgs
Public Class MiniToolbarOpeningEventArgs
  Inherits CancelEventArgs

Introduced: X15.

Properties

Property Description
Location Gets the location, in pixels, where the mini toolbar is displayed.
MiniToolbar Gets or sets the mini toolbar, which will be shown.
MiniToolbarContext Gets the context in the document for which a mini toolbar will be opened.