RepositoryItemComboBox.OwnerEdit Property

Gets the editor which owns the current repository item object.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

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

Property Value

Type Description
ComboBoxEdit

A ComboBoxEdit 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. A Repository item provides the settings specific to a particular editor for creating inplace editors (in XtraGrid, for instance). Thus, every editor owns a repository item.

A repository item object, however, 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 these items.

See Also