How to build a “word-by-word” autocomplete in WPF?

前端 未结 4 1805
臣服心动
臣服心动 2021-02-07 16:21

I already did some research and ended up with several autocomplete boxes which have one thing in common: they all match the whole expression which has been entered. Sometimes, t

4条回答
  •  感情败类
    2021-02-07 17:04

    Check this implementation out: http://code.google.com/p/kocontrols/downloads/list You may inject your own Search algorithm and your own converter which converts the selected element to text, which you display in the TextBox. You will have to modify it slightly but I think that you might be able to solve your problem by basing your control on this implementation. I never thought about this type of use case. Can't you use different textboxes for the different tags? Something similar to how goole code does it?

提交回复
热议问题