Edit

Share via


FormControl.SyncLastChange Method

Definition

Synchronizes the underlying data of the form with changes in the view.

public:
 virtual void SyncLastChange();
public virtual void SyncLastChange ();
abstract member SyncLastChange : unit -> unit
override this.SyncLastChange : unit -> unit
Public Overridable Sub SyncLastChange ()

Remarks

Use this method when a user clicks outside the FormControl object to the host application after making a change to a field without tabbing or otherwise committing that change to the underlying XML document of the form.

For more information about the FormControl object, see Hosting the InfoPath Form Editing Environment in a Custom Windows Form Application

Applies to