I am trying to create a custom listbox control by inheriting the default system.windows.controls.listbox class which would automatically select the item based on keyboard input. Currently the listbox provided in Visual Studio is capable of searching only on the first letter, but I am trying to create onw which would select the item based on consecutive keyboard input characters. Suppose, you have


on the listbox, The control would select Banana upon pressing b,ba,ban etc etc..on keyboard..I am trying to findout the event that get raised when typing is done...Any help would be highly appreciated.