Back to Devexpress

RepositoryItem.OwnerEdit Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitem-f4d421a4.md

latest1.8 KB
Original Source

RepositoryItem.OwnerEdit Property

Gets the editor that owns the repository item.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
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

RepositoryItem Class

RepositoryItem Members

DevExpress.XtraEditors.Repository Namespace