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

PopupContainerControl.OwnerEdit Property

Gets the PopupContainerEdit editor which displays the current popup control.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
public virtual PopupContainerEdit OwnerEdit { get; }

#Property Value

Type Description
PopupContainerEdit

The PopupContainerEdit object displaying the current popup control; null (Nothing in Visual Basic) if the popup control is not associated with an editor.

#Remarks

This property is useful especially for inplace editors. Container controls create editors on demand based on the corresponding repository items’ settings. Note: it is possible to specify the same repository item (editor type and settings) for several elements. In this case, it is convenient to use the OwnerEdit property to access the owning editor. For instance, you can call the editor’s PopupBaseEdit.ClosePopup or PopupBaseEdit.CancelPopup methods to close the dropdown window. Also, you can use the OwnerEdit property to access the current edit value.

Note: you should use the RepositoryItemPopupContainerEdit.PopupControl property to bind a popup control to a popup container editor.

See Also