DateTimePicker constructor
constructor · DateTimePicker · cAlgo.API Since 5.5
DesktopCLICloud
Initializes a new instance of the DateTimePicker 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 DateTimePicker()
DateTimePicker()
Examples
var dateTimePicker = new DateTimePicker { Value = Server.Time, Width = 200 };
Chart.AddControl(dateTimePicker);
dateTimePicker = DateTimePicker()
dateTimePicker.Value = api.Server.Time
dateTimePicker.Width = 200
api.Chart.AddControl(dateTimePicker)