System.Windows.Forms.ToolStripDropDownItem.HideDropDown Method

Makes a visible System.Windows.Forms.ToolStripDropDown hidden.

Syntax

public void HideDropDown ()

Remarks

Use the ToolStripDropDownItem.HideDropDown method to prevent the user from choosing one of the options available on the associated System.Windows.Forms.ToolStripDropDown control.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0