Back to Devexpress

RepositoryItemPopupBaseAutoSearchEdit.OwnerEdit Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempopupbaseautosearchedit-a8055d82.md

latest2.3 KB
Original Source

RepositoryItemPopupBaseAutoSearchEdit.OwnerEdit Property

Gets the editor which owns the current repository item.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public PopupBaseAutoSearchEdit OwnerEdit { get; }
vb
<Browsable(False)>
Public ReadOnly Property OwnerEdit As PopupBaseAutoSearchEdit

Property Value

TypeDescription
PopupBaseAutoSearchEdit

The PopupBaseAutoSearchEdit control which owns the current repository item.

|

Remarks

The OwnerEdit property returns the editor which owns the current repository item. You can use the OwnerEdit property to return the edit value, for instance. For this purpose, see the editor’s BaseEdit.EditValue property.

Every edit control has a Properties property which represents a repository item object. Repository items store settings specific to corresponding editors and provide them when creating inplace editors (e.g. for an Grid Control column). Thus, every editor owns a repository item.

However, a repository item object can exist without an edit control. This is true for the standalone repository items used to create inplace editors. The OwnerEdit property in this case returns null because no editor is currently associated with it.

See Also

RepositoryItemPopupBaseAutoSearchEdit Class

RepositoryItemPopupBaseAutoSearchEdit Members

DevExpress.XtraEditors.Repository Namespace