Is there an event that triggers if the number of ListViewItems in a ListView changes? (Windows Forms)

后端 未结 3 1614
一个人的身影
一个人的身影 2021-01-20 20:39

I\'d like to enable/disable some other controls based on how many items are in my ListView control. I can\'t find any event that would do this, either on the

3条回答
  •  难免孤独
    2021-01-20 21:20

    I think the best thing that you can do here is to subclass ListView and provide the events that you want.

提交回复
热议问题