The MiniToolbar class is the base class of the built-in mini toolbars TextMiniToolbar and ObjectMiniToolbar of a Windows Forms TextControl. A mini toolbar is a contextual toolbar showing elements to format the document depending on the current context. An instance of a MiniToolbar can be assigned to the MiniToolbarInitializedEventArgs.MiniToolbar or MiniToolbarOpeningEventArgs.MiniToolbar property when the corresponding TextControl.TextMiniToolbarInitialized, TextControl.ObjectMiniToolbarInitialized or TextControl.MiniToolbarOpening event is raised. It is inherited from the System.Windows.Forms.ToolStripDropDown class. The following describes only the properties, methods and events defined through the MiniToolbar class. For a list of properties, methods and events inherited from the System.Windows.Forms.ToolStripDropDown class see the .NET Framework reference.

Syntax

public class MiniToolbar : System.Windows.Forms.ToolStripDropDown
Public Class MiniToolbar
  Inherits System.Windows.Forms.ToolStripDropDown

Introduced: X15.

Constructors

Constructor Description
MiniToolbar Initializes a new instance of the MiniToolbar class.

Properties

Property Description
RibbonGroups Gets a collection of all ribbon groups in a MiniToolbar.