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

◆ lines() [2/2]

text_box_base & xtd::forms::text_box_base::lines ( const std::vector< xtd::ustring > &  lines)

Sets the lines of text in a text box control.

Parameters
linesAn array of strings that contains the text in a text box control.
Returns
Current text_box_base instance.
Remarks
Each element in the array becomes a line of text in the text box control. If the multiline property of the text box control is set to true and a newline character appears in the text, the text following the newline character is added to a new element in the array and displayed on a separate line.