ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / C1.Win.C1Input Namespace / C1TextBox Class / SetProposedValue Method
Value to set to the control.

In This Topic
    SetProposedValue Method (C1TextBox)
    In This Topic
    This method works exactly as setting the Value property, except that it does not change the internal variable storing the value before editing, so the user can press Esc and restore the previous value. This method works only in edit mode. If the control is not in edit mode, this methods does nothing.
    Syntax
    'Declaration
     
    Public Overridable Sub SetProposedValue( _
       ByVal value As Object _
    ) 
    public virtual void SetProposedValue( 
       object value
    )

    Parameters

    value
    Value to set to the control.
    See Also