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

IncrementalFilteringMode Enum

Lists the filter modes.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.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.

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