0 out of 4 rated this helpful - Rate this topic

ToolStripContainer.TopToolStripPanel Property

Note: This property is new in the .NET Framework version 2.0.

Gets the top panel of the ToolStripContainer.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

[LocalizableAttribute(false)] 
public ToolStripPanel TopToolStripPanel { get; }
/** @property */
public ToolStripPanel get_TopToolStripPanel ()

public function get TopToolStripPanel () : ToolStripPanel

Property Value

A ToolStripPanel representing the top panel of the ToolStripContainer.

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

The following code example adds a ToolStrip with standard items to the TopToolStripPanel of the ToolStripContainer. This example is part of a larger example available in the ToolStripContainer class summary.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.