Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ToolStripSplitButton Constructor (String, Image, EventHandler, String)

Initializes a new instance of the ToolStripSplitButton class with the specified display text, image, Click event handler, and name.

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

public ToolStripSplitButton(
	string text,
	Image image,
	EventHandler onClick,
	string name
)

Parameters

text
Type: System.String

The text to be displayed on the ToolStripSplitButton.

image
Type: System.Drawing.Image

The Image to be displayed on the ToolStripSplitButton.

onClick
Type: System.EventHandler

Raises the Click event when the user clicks the ToolStripSplitButton.

name
Type: System.String

The name of the ToolStripSplitButton.

.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
Show:
© 2015 Microsoft