ToolStripContainer.ContentPanel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the center panel of the ToolStripContainer.
public:
property System::Windows::Forms::ToolStripContentPanel ^ ContentPanel { System::Windows::Forms::ToolStripContentPanel ^ get(); };
public System.Windows.Forms.ToolStripContentPanel ContentPanel { get; }
member this.ContentPanel : System.Windows.Forms.ToolStripContentPanel
Public ReadOnly Property ContentPanel As ToolStripContentPanel
Property Value
A ToolStripContentPanel representing the center panel of the ToolStripContainer.
Remarks
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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.