RepositoryItemCalcEdit.OwnerEdit Property
Returns the editor which owns the current repository item object.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
CalcEdit | A CalcEdit control 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. For this purpose, see the editor’s BaseEdit.EditValue property.
Every edit control has a Properties property representing a repository item object. Repository items are provided to maintain settings specific to particular editor types for creating inplace editors (in XtraGrid, for instance). Thus, every editor owns a repository item.
However, a repository item object can exist without an edit control and the OwnerEdit property then returns null because no editor is currently associated with it.