TextBox.IsReadOnlyCaretVisible
property · TextBox · cAlgo.API
DesktopCLICloud
Gets or sets a value that indicates whether a read-only text box displays a 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 bool IsReadOnlyCaretVisible {get; set;}
textBox.IsReadOnlyCaretVisible: bool
Returns bool
Examples
var textBox = new TextBox { Text = "Read only, caret visible", IsReadOnly = true, IsReadOnlyCaretVisible = true };
Chart.AddControl(textBox);
textBox = TextBox()
textBox.Text = "Read only, caret visible"
textBox.IsReadOnly = True
textBox.IsReadOnlyCaretVisible = True
api.Chart.AddControl(textBox)