編輯

共用方式為


ToolStripContainer.TopToolStripPanel Property

Definition

Gets the top panel of the ToolStripContainer.

public:
 property System::Windows::Forms::ToolStripPanel ^ TopToolStripPanel { System::Windows::Forms::ToolStripPanel ^ get(); };
public System.Windows.Forms.ToolStripPanel TopToolStripPanel { get; }
member this.TopToolStripPanel : System.Windows.Forms.ToolStripPanel
Public ReadOnly Property TopToolStripPanel As ToolStripPanel

Property Value

A ToolStripPanel representing the top panel of the ToolStripContainer.

Remarks

Use the TopToolStripPanel property to add ToolStrip, MenuStrip, or StatusStrip controls or move them from another ToolStripPanel.

Applies to