开发者

How to force a WPF ComboBox to show its items list?

I have a Button and a hidden WPF ComboBox. When the b开发者_StackOverflowutton is pressed, the ComboBox must be shown and be ready to select an item from its list.

How can the ComboBox drop down list be forced to show programmatically?


To open the drop down.

    combo.IsDropDownOpen = true;


Have you tried:

ComboBox1.DroppedDown = True
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜