System.Windows.Forms.ToolStripPanel Class

Creates a container within which other controls can share horizontal or vertical space.

See Also: ToolStripPanel Members

Syntax

[System.ComponentModel.Designer("System.Windows.Forms.Design.ToolStripPanelDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.IDesigner")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Drawing.ToolboxBitmap("")]
[System.Runtime.InteropServices.ComVisible(true)]
public class ToolStripPanel : ContainerControl

Remarks

Use a System.Windows.Forms.ToolStripPanel to hold one or more System.Windows.Forms.ToolStrip, System.Windows.Forms.MenuStrip, System.Windows.Forms.StatusStrip or user-defined controls.

You might find that one or more System.Windows.Forms.ToolStripPanel controls meet the needs of your application better than a System.Windows.Forms.ToolStripContainer if you do not need the four panels and the central System.Windows.Forms.ToolStripContentPanel.

You can use only one panel if you so choose, and System.Windows.Forms.ToolStripPanel works well in Multiple Document Interface (MDI) scenarios.

Each System.Windows.Forms.ToolStripPanel is expandable and collapsible.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0