Skip to main content

LookUpEditBase.BeginDataUpdate() Method

Prevents visual and internal data updates until the LookUpEditBase.EndDataUpdate method is called.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public void BeginDataUpdate()

Remarks

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.

See Also