System.Windows.Forms.ToolStripDropDownButton Class

Represents a control that when clicked displays an associated System.Windows.Forms.ToolStripDropDown from which the user can select a single item.

See Also: ToolStripDropDownButton Members

Syntax

[System.Windows.Forms.Design.ToolStripItemDesignerAvailability(System.Windows.Forms.Design.ToolStripItemDesignerAvailability.ToolStrip | System.Windows.Forms.Design.ToolStripItemDesignerAvailability.StatusStrip)]
public class ToolStripDropDownButton : ToolStripDropDownItem

Remarks

System.Windows.Forms.ToolStripDropDownButton looks like System.Windows.Forms.ToolStripButton, but it shows a drop-down area when the user clicks it. Hide or show the drop-down arrow by setting the ToolStripDropDownButton.ShowDropDownArrow property. System.Windows.Forms.ToolStripDropDownButton hosts a System.Windows.Forms.ToolStripOverflowButton that displays items that overflow the System.Windows.Forms.ToolStrip.

Use the System.Windows.Forms.ToolStripDropDownButton to activate familiar drop-down controls such as color pickers. Set the ToolStripDropDownButton.ShowDropDownArrow property to true to more clearly indicate to the user that further options are available on the drop-down list.

Requirements

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