开发者

Refreshing WPF ComboBox

I have ComboBox that lists all enum values using ObjectDataProvider. Since enum-values are not always that clear and they need to be localized, I 开发者_如何学JAVAuse converter to do that. This all works fine, but when I change the language, I have to somehow update the combobox. How I can do that? ComboBox'es UpdateLayout() and Items.Refresh() have no effect at all.


Try calling Refresh on the ObjectDataProvider itself.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜