Back to Devexpress

PopupContainerControl.PopupContainerProperties Property

windowsforms-devexpress-dot-xtraeditors-dot-popupcontainercontrol-7a4d0ef7.md

latest2.9 KB
Original Source

PopupContainerControl.PopupContainerProperties Property

Provides access to the owning editor’s repository item.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public virtual RepositoryItemPopupContainerEdit PopupContainerProperties { get; }
vb
<Browsable(False)>
Public Overridable ReadOnly Property PopupContainerProperties As RepositoryItemPopupContainerEdit

Property Value

TypeDescription
RepositoryItemPopupContainerEdit

A RepositoryItemPopupContainerEdit object containing settings of the editor whose popup window displays this control.

|

Remarks

Use the PopupContainerProperties property to access the repository item that provides settings for this control’s owning editor. Note: you can also read the PopupContainerEdit.Properties property of the object returned by the PopupContainerControl.OwnerEdit property for the same purpose.

You should use the RepositoryItemPopupContainerEdit.PopupControl property to bind a popup control to a repository item. When binding, the repository item previously linked to the popup control (if any) is no longer linked to it (its RepositoryItemPopupContainerEdit.PopupControl property value is set to null ( Nothing in Visual Basic)). Thus, there can be no ambiguity when accessing the PopupContainerProperties property value.

If you need to access the editor itself, see the PopupContainerControl.OwnerEdit property. This provides access to methods which enable you to close the dropdown, access the edit value etc.

See Also

OwnerEdit

PopupContainerControl Class

PopupContainerControl Members

DevExpress.XtraEditors Namespace