Skip to content

Button.BorderColor

property · Button · cAlgo.API

DesktopCLICloud

Gets or sets the border line color. Check the Color class for the ARGB (alpha, red, green, blue) color values, or use the strings Color.Red, Color.FromName("Red"), Color.FromArgb(255, 0, 0), Color.FromHex("#ff0000"), "Red", "#ff0000".

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

Returns Color

Examples

var button = new Button { Text = "Sell", BorderColor = Color.Red, BorderThickness = 1 };
Chart.AddControl(button);
button = Button()
button.Text = "Sell"
button.BorderColor = Color.Red
button.BorderThickness = Thickness(1)
api.Chart.AddControl(button)