wpf-devexpress-dot-xpf-dot-editors-dot-lookupeditbase-a84a2259.md
Prevents visual and internal data updates until the LookUpEditBase.EndDataUpdate method is called.
Namespace : DevExpress.Xpf.Editors
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public void BeginDataUpdate()
Public Sub BeginDataUpdate
To prevent internal data updates, use the BeginDataUpdate and LookUpEditBase.EndDataUpdate methods.
If the code that performs a sequence of data operations is wrapped with the BeginDataUpdate and LookUpEditBase.EndDataUpdate methods, the lookup editor performs only a single data update reflecting all changes made after the LookUpEditBase.EndDataUpdate method is called.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BeginDataUpdate() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
}
this.BeginDataUpdate();
End If
Me.BeginDataUpdate()
See Also