TextBox.AcceptsReturn
property · TextBox · cAlgo.API
DesktopCLICloud
Gets or sets a value that indicates how the text editing control responds when the user presses the ENTER key.
Environment behaviour
CLI — not supported. Accepted without error but never displayed, so control events such as Click are never raised.
Cloud — not supported. Accepted without error but never displayed, so control events such as Click are never raised.
Definition
public bool AcceptsReturn {get; set;}
textBox.AcceptsReturn: bool
Returns bool
Examples
var notesTextBox = new TextBox { AcceptsReturn = true, MinLines = 3, Width = 200 };
Chart.AddControl(notesTextBox);
notesTextBox = TextBox()
notesTextBox.AcceptsReturn = True
notesTextBox.MinLines = 3
notesTextBox.Width = 200
api.Chart.AddControl(notesTextBox)