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