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 7928167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T19:40:03+00:00 2026-06-03T19:40:03+00:00

Standard WPF combo box has the type in functionality. That is: when combo box

  • 0

Standard WPF combo box has the type in functionality. That is: when combo box has a focus and user types some letters, selected item in combo box changes (in relation to typed letters).

Important

I do not mean combo box with IsEditable set to True, neither I mean opened list of combo box. I mean pure simple combo box with several text items:

enter image description here

The question

How can I mimic this behavior in my custom build combo box? (it is built from scratch, and mimics everything, except mentioned functionality).

My combo box was built using classic schema: a toogle button, a popup, and a list box inside popup (assuming I do not include all the additional functionality in described schema). List box supports “type in” functionality perfectly. So my idea was to bring all the keystrokes from toggle button to list box:

Private Sub MyToggleButton_PreviewKeyDown(sender As Object, e As System.Windows.Input.KeyEventArgs) Handles MyToggleButton.PreviewKeyDown
    MyListBox_PreviewKeyDown(Me, e)
End Sub

Private Sub MyListBox_PreviewKeyDown(sender As Object, e As System.Windows.Input.KeyEventArgs) Handles MyListBox.PreviewKeyDown
    MyBase.OnPreviewKeyDown(e)
End Sub

But for some reason it does not work.

  • 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-06-03T19:40:06+00:00Added an answer on June 3, 2026 at 7:40 pm

    Check out this article.

    http://www.codeproject.com/Articles/66890/A-Keyboard-Selection-Enabled-ComboBox-in-Silverlig

    Though the article is intended for silvelight it show should so you the steps needed.

    Unless you post the code on how you have implemented the combobox no one can give a complete solution

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

Sidebar

Related Questions

Say we have a standard WPF-application, and I want to show some UI-elements on
The standard explicitly states that main has two valid (i.e., guaranteed to work) signatures;
I mentioned that there is no standard busy control in WPF. So what's the
Is there a standard message box in WPF, like WinForms' System.Windows.Forms.MessageBox.Show() , or should
I'm creating a standard menu in my WPF application. I know that I can
I've used standard WPF Labels throughout my project. Now that I'm including the Telerik
Many properties in standard WPF elements support a small discrete set of values that
I have created combo box that I would like to load with all of
I have a FlowDocument in a standard WPF application window where I have some
I have standard WPF Window that I have extended the Aero Glass on the

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.