Returns or sets the default value of the control.
Read-write property
object.DefaultValue = [ Value ] |
String
The DefaultValue property applies to the following controls: CheckBox, ComboBox, DateTime, Edit, ImageBox, and Slider.
The DefaultValue property is an expression string, not a constant value. Although a numeric value like 1.23 will work as both an expression and a constant, strings must be enclosed in quotes to become constants (for example, "Brown" must be used instead of Brown).