ToolStripButton Constructor (String, Image)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: