The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Control Constructor (String^)
.NET Framework (current version)
Initializes a new instance of the Control class with specific text.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- text
-
Type:
System::String^
The text displayed by the control.
The Control class is the base class for all controls used in a Windows Forms application. Because this class is not typically used to create an instance of the class, this constructor is typically not called directly but is instead called by a derived class.
This version of the Control constructor sets the initial Text property value to the text parameter value.
.NET Framework
Available since 1.1
Available since 1.1
Show: