Export (0) Print
Expand All

ToolStripDropDown.Show Method (Control, Point, ToolStripDropDownDirection)

Positions the ToolStripDropDown relative to the specified control at the specified location and with the specified direction relative to the parent control.

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

member Show : 
        control:Control * 
        position:Point * 
        direction:ToolStripDropDownDirection -> unit


Type: System.Windows.Forms.Control

The control (typically, a ToolStripDropDownButton) that is the reference point for the ToolStripDropDown position.

Type: System.Drawing.Point

The horizontal and vertical location of the reference control's upper-left corner, in pixels.

Type: System.Windows.Forms.ToolStripDropDownDirection

One of the ToolStripDropDownDirection values.


The control specified by the control parameter is a null reference (Nothing in Visual Basic).

The following code example demonstrates how to display the ToolStripDropDown control relative to the parent control.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft