Back to Devexpress

PopupBaseEdit.PopupOpening Event

wpf-devexpress-dot-xpf-dot-editors-dot-popupbaseedit-413fa1ba.md

latest2.6 KB
Original Source

PopupBaseEdit.PopupOpening Event

Occurs before the editor’s dropdown (popup window) is opened.

Namespace : DevExpress.Xpf.Editors

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public event OpenPopupEventHandler PopupOpening
vb
Public Event PopupOpening As OpenPopupEventHandler

Event Data

The PopupOpening event's data class is DevExpress.Xpf.Editors.OpenPopupEventArgs.

Remarks

After the dropdown has been shown, the editor fires the PopupBaseEdit.PopupOpened event.

The following code snippets (auto-collected from DevExpress Examples) contain references to the PopupOpening event.

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.

mvvm-application-with-wpf-bars/CS/Bars_in_MVVM_Application/MainWindow.xaml#L81

xml
AllowDefaultButton="False" EditValue="{Binding Tags}"
PopupOpening="{DXEvent Handler='@args.Cancel = true;'}"
ItemsSource="{dxe:EnumItemsSource EnumType={x:Type local:Tag}}">

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

vb
Public Sub New()
    AddHandler Me.PopupOpening, AddressOf PivotGridRadioFilter_PopupOpening
    AddHandler Me.PopupClosed, AddressOf PivotGridRadioFilter_PopupClosed

See Also

PopupOpened

PopupBaseEdit Class

PopupBaseEdit Members

DevExpress.Xpf.Editors Namespace