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

In This Topic
    SetProposedValue Method (C1DateEdit)
    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 or DropDownList mode. If the control is not in edit or DropDownList 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