Runs all the ValidationRule objects and updates the binding sources if all validation rules succeed.
Assembly: PresentationFramework (in PresentationFramework.dll)
The following example calls to save the pending changes and then calls BeginEdit to prepare the source to be re-edited.
Private Sub stackPanel1_Loaded(ByVal sender As Object, ByVal e As RoutedEventArgs) ' Set the DataContext to a PurchaseItem object. ' The BindingGroup and Binding objects use this as ' the source. stackPanel1.DataContext = New PurchaseItem() ' Begin an edit transaction that enables ' the object to accept or roll back changes. stackPanel1.BindingGroup.BeginEdit() End Sub
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
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.