Back to Devexpress

PopupBaseEdit.CancelPopup() Method

wpf-devexpress-dot-xpf-dot-editors-dot-popupbaseedit-4a628ef7.md

latest1.3 KB
Original Source

PopupBaseEdit.CancelPopup() Method

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

Namespace : DevExpress.Xpf.Editors

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public void CancelPopup()
vb
Public Sub 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

ClosePopup()

PopupBaseEdit Class

PopupBaseEdit Members

DevExpress.Xpf.Editors Namespace