Skip to main content
A newer version of this page is available. .

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.v22.1.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