Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6892037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:29:04+00:00 2026-05-27T06:29:04+00:00

I need this WPF ComboBox as a dropdown where user cannot enter text like

  • 0

I need this WPF ComboBox as a dropdown where user cannot enter text like textbox but still be able to search via typing text.

I set IsEditable = false and IsTextSearchEnabled = true and it works.

But the problem is that lets say a user is searching for text “Japan”. User start text input into the combo with “J”. Some items starting with “J” appear in the filtered list of the drop down panel. Now if user waits for 3-4 seconds and then types “a” (to complete typing “Japan”), the filtered list will rather move to items starting with “a”.

It should rather search for “Ja” but it searches for “a” and discards “J”.

Any ideas how do I fix this behavior?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:29:05+00:00Added an answer on May 27, 2026 at 6:29 am

    In short, I don’t think you can (easily). See this post:

    WPF combobox search item

    What it boils down to is that internally ComboBox is using a built-in class called TextSearch. In this class the timeout interval is hard-coded and is not publicly accessible, so you can not change this behaviour.

    However, you might have some luck by implementing your own control that inherits from ComboBox and provides an override of the protected members OnTextInput and OnKeyDown. In here, you could implement your own searching logic and own timeout (which could be exposed as a DependencyProperty and hence configurable from within XAML).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to create a wpf treeviewlist to look something like this: AAAA BBBB
I have an editable WPF ComboBox with TextSearchEnabled. I need to force the user's
I have a wpf app with a combobox like this <ComboBox name=cmbBx1> <ComboBoxItem Name=Jan>January</ComboBoxItem>
i need to draw something like the image below using WPF... i need this
I have below combo box in mvvm-wpf application. I need to implement Text search
I need to write a custom WPF control that should look like a ComboBox
So from this string: name[id] I need this: id I used str.split ('[]'), but
I'm trying to rig up a ComboBox with a Datagrid dropdown in WPF. I
You might not know this, but pressing the F4 key on a ComboBox makes
I need to select custom item under WPF Combobox by code behind. For example:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.