Skip to content

TextBox.TextWrapping

property · TextBox · cAlgo.API

DesktopCLICloud

Gets or sets how the text box should wrap text.

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 TextWrapping TextWrapping {get; set;}
textBox.TextWrapping: TextWrapping

Returns TextWrapping

Examples

var notesTextBox = new TextBox { Width = 200, MinLines = 3, AcceptsReturn = true, TextWrapping = TextWrapping.Wrap };
Chart.AddControl(notesTextBox);
notesTextBox = TextBox()
notesTextBox.Width = 200
notesTextBox.MinLines = 3
notesTextBox.AcceptsReturn = True
notesTextBox.TextWrapping = TextWrapping.Wrap
api.Chart.AddControl(notesTextBox)