开发者

how to override ListView Items Property without creating new control?

开发者 https://www.devze.com 2023-01-10 11:17 出处:网络
how to override ListView Items Property without creatin开发者_运维问答g new control ?You should probably be setting ListView.Items as necessary, instead of overriding the property. If you are updating

how to override ListView Items Property without creatin开发者_运维问答g new control ?


You should probably be setting ListView.Items as necessary, instead of overriding the property. If you are updating it too often, check ListView.BeginUpdate and ListView.EndUpdate.

Edit: after all, setting ListView.Items changes ListView.Text as well, and vice versa. There are other compilications too.

0

精彩评论

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