RepositoryItemTreeListLookUpEdit.OwnerEdit Property
Gets the editor which owns the current repository item object.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraTreeList.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
TreeListLookUpEdit | A TreeListLookUpEdit control owning the current repository item. |
Remarks
The OwnerEdit property returns the editor owning 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 representing a repository item object. Repository items store settings specific to corresponding editors and provide them when creating inplace editors (e.g., for an Tree List column). So, 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. In this case, the OwnerEdit property returns null because no editor is currently associated with it.