Reputation: 1230
i have a custom ListView control and Custom ListViewItem that has a tri-state checkbox,
when i am using the myListView1_ItemCheck
event, the ItemCheckEventArgs e
the item is of type listviewitem not the custom one i had made, how can i modify the event to handle the custom listviewitem i had?
thanks for helping
Upvotes: 0
Views: 454
Reputation: 273189
You can't really change the existing code, but you should be able to typecast the item to your type.
Upvotes: 1