xtd 0.2.0
Loading...
Searching...
No Matches

◆ control() [2/5]

xtd::forms::control::control ( const xtd::string text)
explicit

Initializes a new instance of the xtd::forms::control class with specific text.

Parameters
textThe text displayed by the control.
Remarks
The xtd::forms::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 xtd::forms::control constructor sets the initial xtd::forms::control::text property value to the text parameter value.