Skip to main content

RepositoryItemSearchControl Class

An item in an editor container’s repository used to create a SearchControl.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.1.dll

NuGet Package: DevExpress.Win.Navigation


public class RepositoryItemSearchControl :

The following members return RepositoryItemSearchControl objects:


Use RepositoryItemSearchControl objects to embed a SearchControl in bars and ribbons.


See the following topic to learn more on how repository items are used to embed editors into XtraGrid, XtraVerticalGrid, XtraTreeList, and XtraBars: Editors and Simple Controls.

Do the following to embed a SearchControl in a bar in code:

using DevExpress.XtraBars;
using DevExpress.XtraEditors.Repository;

RepositoryItemSearchControl repositoryItemSearchControl1 = new RepositoryItemSearchControl();
BarEditItem barEditItem1 = new BarEditItem();
barEditItem1.Edit = repositoryItemSearchControl1;

The image below shows how to embed a SearchControl in a bar at design time.


Client Control

Use the Client property to specify the control that should be filtered with the created SearchControl.

See Also