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.SearchByMembers Property

Allows users to choose data fields to search in. This property is in effect when the RepositoryItemSearchControl.ShowSearchByButton property is true.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[DefaultValue("")]
[DXCategory("Behavior")]
public string SearchByMembers { get; set; }

#Property Value

Type Default Description
String String.Empty

The list of data fields for users to choose from.

#Remarks

Search Control - Search By Member

The code sample below illustrates how to let users search only by the “Product” and/or “Price” fields.

repositoryItemSearchControl1.ShowSearchByButton = true;
repositoryItemSearchControl1.SearchByMembers = "Product;Price";
See Also