'Declaration Public Overridable Property Value As Object
'Usage Dim instance As SuperEditBase Dim value As Object instance.Value = value value = instance.Value
public virtual object Value {get; set;}
'Declaration Public Overridable Property Value As Object
'Usage Dim instance As SuperEditBase Dim value As Object instance.Value = value value = instance.Value
public virtual object Value {get; set;}
This property is available at run time only.
Contrast this property with the Text property.
Note: If the control contains an invalid value, the Value property returns Null. |
private void control_TextChanged(object sender, System.EventArgs e) { control.Text = textBox1.Text; control2.Value = control.Text; }
Private Sub control_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Text1.TextChanged control.Text = TextBox1.Text control2.Value = control.Text End Sub