RepositoryItemPopupBase.OwnerEdit Property
Gets the editor which owns the current repository item object.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
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.