Dela via


ToolStripContainer Control Overview

A ToolStripContainer has panels on its left, right, top, and bottom sides for positioning and rafting ToolStrip, MenuStrip, and StatusStrip controls. Multiple ToolStrip controls stack vertically if you put them in the left or right ToolStripContainer. They stack horizontally if you put them in the top or bottom ToolStripContainer. You can use the central ToolStripContentPanel of the ToolStripContainer to position traditional controls on the form.

Any or all ToolStripContainer controls are directly selectable at design time and can be deleted. Each panel of a ToolStripContainer is expandable and collapsible, and resizes with the controls that it contains.

Important ToolStripContainer Members

Name

Description

BottomToolStripPanel

Gets the bottom panel of the ToolStripContainer.

BottomToolStripPanelVisible

Gets or sets a value indicating whether the bottom panel of the ToolStripContainer is visible.

LeftToolStripPanel

Gets the left panel of the ToolStripContainer.

LeftToolStripPanelVisible

Gets or sets a value indicating whether the left panel of the ToolStripContainer is visible.

RightToolStripPanel

Gets the right panel of the ToolStripContainer.

RightToolStripPanelVisible

Gets or sets a value indicating whether the right panel of the ToolStripContainer is visible.

TopToolStripPanel

Gets the top panel of the ToolStripContainer.

TopToolStripPanelVisible

Gets or sets a value indicating whether the top panel of the ToolStripContainer is visible.

See Also

Reference

ToolStripContainer

ToolStripContentPanel