Skip to content

TextBox.BorderThickness

property · TextBox · cAlgo.API

DesktopCLICloud

Gets or sets the border thickness. Property value can be set using Thickness, number, or a string new Thickness(5), new Thickness(1, 2, 3, 4), 5, "5", "1 2 3 4".

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

Returns Thickness

Examples

var textBox = new TextBox { Text = "1.0850", BorderColor = Color.Gray, BorderThickness = new Thickness(0, 0, 0, 1) };
Chart.AddControl(textBox);
textBox = TextBox()
textBox.Text = "1.0850"
textBox.BorderColor = Color.Gray
textBox.BorderThickness = Thickness(0, 0, 0, 1)
api.Chart.AddControl(textBox)