ToolStripContainer.ContentPanel Property

 

Gets the center panel of the ToolStripContainer.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public ToolStripContentPanel ContentPanel { get; }

Property Value

Type: System.Windows.Forms.ToolStripContentPanel

A ToolStripContentPanel representing the center panel of the ToolStripContainer.

You can use the top, bottom, left, and right panels of the ToolStripContainer to hold ToolStrip, MenuStrip, or StatusStrip controls. Controls other than ToolStrip, MenuStrip, or StatusStrip are automatically added to the ToolStripContentPanel.

.NET Framework
Available since 2.0
Return to top
Show: