I am using CLVExpandable class. When i click the blank of pnlExpanded panel(not the views on the panel). the item will collapse,this is easy to cause mishandling,how to prevent it?
You can handle the click event of the title panel and call ToggleItem from that event instead of clv_ItemClick. You can use clv.GetItemFromView to find the item index.
You can handle the click event of the title panel and call ToggleItem from that event instead of clv_ItemClick. You can use clv.GetItemFromView to find the item index.