Show Method

ToolStripDropDown.Show Method ()


Displays the ToolStripDropDown control in its default position.

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

public void Show()

The following code example demonstrates how to display the ToolStripDropDown control at its default position.

// This method calls the ToolStripDropDown control's Show 
// method to display the ContextMenuStrip in its 
// default location.
private void showButton_Click(object sender, EventArgs e)

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft