ColorPicker constructor
constructor · ColorPicker · cAlgo.API Since 5.1
DesktopCLICloud
Initializes a new instance of the ColorPicker class.
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 ColorPicker()
ColorPicker()
Examples
var colorPicker = new ColorPicker { SelectedColor = Color.Red };
Chart.AddControl(colorPicker);
colorPicker = ColorPicker()
colorPicker.SelectedColor = Color.Red
api.Chart.AddControl(colorPicker)