ToolStripDropDownButton Constructor (String^, Image^, array<ToolStripItem^>^)

 

Initializes a new instance of the ToolStripDropDownButton class.

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

public:
ToolStripDropDownButton(
	String^ text,
	Image^ image,
	... array<ToolStripItem^>^ dropDownItems
)

Parameters

text
Type: System::String^

The text to be displayed on the ToolStripDropDownButton.

image
Type: System.Drawing::Image^

An Image to be displayed on the ToolStripDropDownButton.

dropDownItems
Type: array<System.Windows.Forms::ToolStripItem^>^

An array of type ToolStripItem containing the items of the ToolStripDropDownButton.

.NET Framework
Available since 2.0
Return to top
Show: