Finds the specified System.Windows.Forms.ToolStrip or a type derived from System.Windows.Forms.ToolStrip.
- toolStripName
A string specifying the name of the System.Windows.Forms.ToolStrip or derived System.Windows.Forms.ToolStrip type to find.
![]()
The System.Windows.Forms.ToolStrip or one of its derived types as specified by the toolStripName parameter, or null if the System.Windows.Forms.ToolStrip is not found.
Use the ToolStripManager.FindToolStrip(string) method to search for a System.Windows.Forms.ToolStrip or an object derived from System.Windows.Forms.ToolStrip. Derived types of System.Windows.Forms.ToolStrip are System.Windows.Forms.StatusStrip, System.Windows.Forms.MenuStrip, System.Windows.Forms.ToolStripDropDown, System.Windows.Forms.ToolStripDropDownMenu, and System.Windows.Forms.ContextMenuStrip. If the object of the search is not specifically a System.Windows.Forms.ToolStrip but one of these derived types, cast the return type as required.