IncrementalFilteringMode Enum
Lists the filter modes.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Members
Name | Description |
---|---|
Contains
|
The editor filters items that contain the filter string. |
StartsWith
|
The editor filters items that begin with the filter string. |
None
|
The editor does not filter items. |
Related API Members
The following properties accept/return IncrementalFilteringMode values:
Library | Related API Members |
---|---|
ASP.NET Web Forms Controls | ASPxAutoCompleteBoxBase.IncrementalFilteringMode |
ASPxGridLookup.IncrementalFilteringMode | |
AutoCompleteBoxPropertiesBase.IncrementalFilteringMode | |
GridLookupProperties.IncrementalFilteringMode | |
ASP.NET MVC Extensions | GridLookupViewModel.IncrementalFilteringMode |
Remarks
Use the ASPxAutoCompleteBoxBase.IncrementalFilteringMode property to set the filter mode.
In markup:
<dx:ASPxComboBox ID="Countries" runat="server" IncrementalFilteringMode="StartsWith">
<Items>
<!--...-->
</Items>
</dx:ASPxComboBox>
In Code:
protected void Page_Load(object sender, EventArgs e){
ASPxComboBox cb = new ASPxComboBox();
cb.Items.AddRange(new List<ListEditItem>(){
//...
})
cb.IncrementalFilteringMode = IncrementalFilteringMode.StartsWith;
}
See Also