Skip to main content

PopupBaseEdit.CancelPopup() Method

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

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.1.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