Tab

IncrementalFilteringMode Enum

Lists the filter modes.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public enum IncrementalFilteringMode

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 Controls and MVC Extensions 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.

ComboBox-IncrementalFilteringMode-StartsWith

Declaratively:

<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