ToolStripLabel Constructor (String, Image, Boolean)

 

Initializes a new instance of the ToolStripLabel class, specifying the text and image to display and whether the ToolStripLabel acts as a link.

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

public ToolStripLabel(
	string text,
	Image image,
	bool isLink
)

Parameters

text
Type: System.String

The text to display on the ToolStripLabel.

image
Type: System.Drawing.Image

The Image to display on the ToolStripLabel.

isLink
Type: System.Boolean

true if the ToolStripLabel acts as a link; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show: