如何隐藏WPF组合框中的所选项目? [英] How can I hide the selected item in a WPF combo box?
本文介绍了如何隐藏WPF组合框中的所选项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想从打开的WPF组合框中隐藏选定的项目,基本上是显示而不是显示:
I want to hide the selected item from the opened WPF combo box, basically to show instead of this:
item2
item1
item2
item3
此:
item2
item1
item3
这怎么办?
推荐答案
为什么不更改所选项目的可见性代替?
Why don't you change the selected item's visibility instead?
这篇关于如何隐藏WPF组合框中的所选项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文