TextBox.SelectionColor
property · TextBox · cAlgo.API
DesktopCLICloud
Gets or sets the text color of the current text selection.
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 SelectionColor {get; set;}
textBox.SelectionColor: Color
Returns Color
Examples
var textBox = new TextBox { Text = "Select this text", SelectionColor = Color.Yellow, SelectionOpacity = 0.5 };
Chart.AddControl(textBox);
textBox = TextBox()
textBox.Text = "Select this text"
textBox.SelectionColor = Color.Yellow
textBox.SelectionOpacity = 0.5
api.Chart.AddControl(textBox)