Back to Devexpress

LookUpEditBase.EndDataUpdate() Method

wpf-devexpress-dot-xpf-dot-editors-dot-lookupeditbase-d495812a.md

latest2.8 KB
Original Source

LookUpEditBase.EndDataUpdate() Method

Enables visual and internal data updates after the LookUpEditBase.BeginDataUpdate method call, and updates the lookup editor.

Namespace : DevExpress.Xpf.Editors

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public void EndDataUpdate()
vb
Public Sub

Remarks

To prevent internal data updates, use the LookUpEditBase.BeginDataUpdate and EndDataUpdate methods.

If the code that performs a sequence of data operations is wrapped with the LookUpEditBase.BeginDataUpdate and EndDataUpdate methods, the lookup editor performs only a single data update reflecting all changes made after the EndDataUpdate method is called.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EndDataUpdate() 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.

wpf-pivot-grid-implement-a-custom-filter-popup/CS/DXPivotGrid_CustomFilterPopup/CustomFilterEdit.cs#L45

csharp
this.EditValue = editValue;
    this.EndDataUpdate();
}

wpf-pivot-grid-implement-a-custom-filter-popup/VB/DXPivotGrid_CustomFilterPopup/CustomFilterEdit.vb#L54

vb
Me.EditValue = editValue_Renamed
    Me.EndDataUpdate()
End Sub

See Also

AllowLiveDataShaping

LookUpEditBase Class

LookUpEditBase Members

DevExpress.Xpf.Editors Namespace