System.Windows.Forms.ToolStripSplitButton Class

Represents a combination of a standard button on the left and a drop-down button on the right, or the other way around if the value of System.Windows.Forms.RightToLeft is Yes.

See Also: ToolStripSplitButton Members

Syntax

[System.Windows.Forms.Design.ToolStripItemDesignerAvailability(System.Windows.Forms.Design.ToolStripItemDesignerAvailability.ToolStrip | System.Windows.Forms.Design.ToolStripItemDesignerAvailability.StatusStrip)]
[System.ComponentModel.DefaultEvent("ButtonClick")]
public class ToolStripSplitButton : ToolStripDropDownItem

Remarks

System.Windows.Forms.ToolStripSplitButton combines button and drop-down button functionality.

Use the ToolStripSplitButton.DefaultItem property to synchronize the Control.Click event of the chosen drop-down item with the item shown on the button.

Requirements

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