Skip to content

TextBox.CaretColor

property · TextBox · cAlgo.API

DesktopCLICloud

Gets or sets the color of the insertion caret.

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

Returns Color

Examples

var textBox = new TextBox { Text = "EURUSD", CaretColor = Color.Orange };
Chart.AddControl(textBox);
textBox = TextBox()
textBox.Text = "EURUSD"
textBox.CaretColor = Color.Orange
api.Chart.AddControl(textBox)