xtd::forms::control::control | ( | const xtd::string & | text, |
int32 | left, | ||
int32 | top, | ||
int32 | width, | ||
int32 | height | ||
) |
Initializes a new instance of the control class with specific text, size, and location.
text | The text displayed by the control. |
left | The x position of the control, in pixels, from the left edge of the control's container. The value is assigned to the left property. |
top | The y position of the control, in pixels, from the top edge of the control's container. The value is assigned to the top property. |
width | The width of the control, in pixels. The value is assigned to the width property. |
height | The height of the control, in pixels. The value is assigned to the height property. |