[]
Gets or sets whether the control can accept and display multiple lines of text.
public bool Multiline { get; set; }
Public Property Multiline As Boolean
Type | Description |
---|---|
bool | True if the control is a multiline control; otherwise, false.
|
A multiple-line control wraps text as the user types text extending beyond the text box.
You can also add scroll bars to larger controls using the GrapeCity.Win.Spread.InputMan.CellType.GcTextBox.ScrollBars property. If no horizontal scroll bar is specified, the text in a multiple-line control automatically wraps.
On a form with no default buttons, pressing Enter causes the focus to move to the next line in a multiple-line control. If a default button exists, you must press Ctrl+Enter to move to the next line. Also to insert a tab, you must press Ctrl+Tab.