RepositoryItem.OwnerEdit Property
Gets the editor that owns the repository item.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v20.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the OwnerEdit property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.