Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RepositoryItemSearchControl.OwnerEdit Property

Gets the editor that owns the current repository item object.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
public SearchControl OwnerEdit { get; }

#Property Value

Type Description
SearchControl

A SearchControl editor that owns the current repository item.

#Remarks

The OwnerEdit property returns the editor that owns the current repository item. You can use this property, for instance, to return the edit value. For this purpose, see the editor’s BaseEdit.EditValue property.

Every edit control has a Properties property representing a repository item object. Repository items store settings specific to the corresponding editors and provide them when creating inplace editors (e.g., for an Grid Control column). Thus, every editor owns a repository item.

However, a repository item object can exist without an edit control. This is true for the standalone repository items used to create inplace editors. In this case, the OwnerEdit property returns null (Nothing in Visual Basic), because no editor is currently associated.

See Also