System.Windows.Forms.ToolStripDropDownMenu Class

Provides basic functionality for the System.Windows.Forms.ContextMenuStrip control. Although System.Windows.Forms.ToolStripDropDownMenu and System.Windows.Forms.ToolStripDropDown replace and add functionality to the System.Windows.Forms.Menu control of previous versions, System.Windows.Forms.Menu is retained for both backward compatibility and future use if you choose.

See Also: ToolStripDropDownMenu Members

Syntax

[System.ComponentModel.Designer("System.Windows.Forms.Design.ToolStripDropDownDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.IDesigner")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
public class ToolStripDropDownMenu : ToolStripDropDown

Remarks

System.Windows.Forms.ToolStripDropDownMenu is the base class for System.Windows.Forms.ContextMenuStrip, providing necessary painting and layout properties and methods. The properties of this class that you are most likely to use directly are the ToolStripDropDownMenu.ShowCheckMargin and ToolStripDropDownMenu.ShowImageMargin properties, which determine whether the shortcut menu will be able to display a check mark, an image, or both.

Requirements

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