Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PopupBaseEdit.CancelPopup() Method

In This Article

Closes the editor’s popup window, discarding all the changes made.

Namespace: DevExpress.Xpf.Editors

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public void CancelPopup()

#Remarks

The CancelPopup method is only useful for editors whose popup windows (dropdowns) are not immediately closed after changing their values (e.g. native combo box). Otherwise, the CancelPopup method hides the popup window and discards all the changes made (e.g. checked combo box).

To programmatically hide the editor’s popup window and save the changes, use the PopupBaseEdit.ClosePopup method.

See Also