70-526 MCTS


ToolStripItem Control

A ToolStripItem is an element such as a button, combo box, text box, or label that can be contained in a ToolStrip control or a ToolStripDropDown control.


Inheritance hierarchy

System.Object 
   System.MarshalByRefObject 
     System.ComponentModel.Component 
       System.Windows.Forms.ToolStripItem (abstract)
         System.Windows.Forms.ToolStripButton 
         System.Windows.Forms.ToolStripControlHost (abstract)
           System.Windows.Forms.ToolStripComboBox
           System.Windows.Forms.ToolStripProgressBar
           System.Windows.Forms.ToolStripTextBox
         System.Windows.Forms.ToolStripDropDownItem (abstract)
           System.Windows.Forms.ToolStripDropDownButton
             System.Windows.Forms.ToolStripOverflowButton
           System.Windows.Forms.ToolStripMenuItem
           System.Windows.Forms.ToolStripSplitButton
             System.Windows.Forms.ToolStripColorButton
         System.Windows.Forms.ToolStripLabel 
         System.Windows.Forms.ToolStripSeparator

The ToolStripItem class is an abstract class that manages events and layout for all of the elements that a ToolStrip or ToolStripDropDown can contain.

ToolStripItem controls must be contained in a ToolStrip, MenuStrip, StatusStrip, or ContextMenuStrip and cannot be added directly to a form.


MSDN references

  • ToolStripItem Class


    << Previous Contents Next >>

    © Publicjoe, 2007