ToolStripSplitButton Constructor (String^, Image^, EventHandler^)

 

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

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

public:
ToolStripSplitButton(
	String^ text,
	Image^ image,
	EventHandler^ onClick
)

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.

.NET Framework
Available since 2.0
Return to top
Show: