Breyta

Deila með


ToolStripContainer.ContentPanel Property

Definition

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