Visual Basic (Declaration) | |
---|---|
Public Overridable Property Value As Object |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SuperEditBase Dim value As Object instance.Value = value value = instance.Value |
C# | |
---|---|
public virtual object Value {get; set;} |
Property Value
Object containing the unformatted contents of the edit controlThis 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. |
C# | Copy Code |
---|---|
private void control_TextChanged(object sender, System.EventArgs e) { control.Text = textBox1.Text; control2.Value = control.Text; } |
Visual Basic | Copy Code |
---|---|
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 |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2