ToolStripButton Constructor (String^, Image^)

 

Initializes a new instance of the ToolStripButton class that displays the specified text and image.

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

public:
ToolStripButton(
	String^ text,
	Image^ image
)

Parameters

text
Type: System::String^

The text to display on the ToolStripButton.

image
Type: System.Drawing::Image^

The image to display on the ToolStripButton.

Use this constructor to create a ToolStripButton that displays both an image and text.

.NET Framework
Available since 2.0
Return to top
Show: