RepositoryItem.OwnerEdit Property

Gets the editor that owns the repository item.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

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

Property Value

Type Description
BaseEdit

A BaseEdit descendant that owns the repository item.

Remarks

The OwnerEdit property returns the editor which owns the current repository item. You can use this property to obtain the editor's value, for instance.

Every edit control has a Properties property representing a repository item object. Repository items store settings specific to particular editors and provide these to container controls in order to create inplace editors. Thus, every editor owns a repository item.

Note: a repository item object can exist without an edit control. The OwnerEdit property returns null (Nothing in Visual Basic) in this case.

See Also