Back to Devexpress

RepositoryItemPopupBase.OwnerEdit Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitempopupbase-ce8418b0.md

latest2.1 KB
Original Source

RepositoryItemPopupBase.OwnerEdit Property

Gets the editor which owns the current repository item object.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
PopupBaseEdit

A PopupBaseEdit editor owning the current repository item.

|

Remarks

The OwnerEdit property returns the editor that owns the current repository item. You can use the OwnerEdit property to return the edit value, for instance (see the editor’s BaseEdit.EditValue property).

Every edit control has a Properties property representing a repository item object. Repository items store settings specific to their corresponding editors and provide them for inplace editors (within XtraGrid, for instance). Thus, every editor owns a repository item that stores appropriate settings.

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

See Also

RepositoryItemPopupBase Class

RepositoryItemPopupBase Members

DevExpress.XtraEditors.Repository Namespace