开发者

When does .NET's ListControl update its text from ToString() of its members?

开发者 https://www.devze.com 2022-12-27 11:51 出处:网络
I have a class which can change the value it returns in ToString(), but the ListBox开发者_高级运维 which contains instances of this class in Items.

I have a class which can change the value it returns in ToString(), but the ListBox开发者_高级运维 which contains instances of this class in Items.

The ListBox doesn't show this change unless I add or remove some item to the ListBox which is when refreshes the list, how can I make it refresh the list myself?

0

精彩评论

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