ToolStripLabel Constructor (String^, Image^, Boolean, EventHandler^)
.NET Framework (current version)
Initializes a new instance of the ToolStripLabel class, specifying the text and image to display, whether the ToolStripLabel acts as a link, and providing a Click event handler.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
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.
- onClick
-
Type:
System::EventHandler^
A Click event handler.
.NET Framework
Available since 2.0
Available since 2.0
Show: