如何突出显示下拉列表中出现的组合框项目文本的一部分 [英] How do i highlight part of combobox items text that appear in the drop downlist
本文介绍了如何突出显示下拉列表中出现的组合框项目文本的一部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何突出显示出现在弹出窗口中的组合框文本项的一部分...
我正在创建一个建议项目的组合框(有点类似于google搜索文本框)..
How can i highlight a part of combobox text items that appear in the popup...
i''m creating a combobox which suggests items (somewhat like the google search text box)..
推荐答案
组合框具有AutoCompleteMode
属性.您可以将其设置为Suggest
.我想这就是您要寻找的东西.
更新:抱歉,没有注意到WPF标签.查看此 [ ^ ]链接.可能会有帮助.
The combobox hasAutoCompleteMode
property. You can set that toSuggest
. I guess that''s what are you looking for.
Update: Sorry, didn''t noticed WPF tag. Check out this[^] link. It may help.
这篇关于如何突出显示下拉列表中出现的组合框项目文本的一部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文