MaterialSkin icon indicating copy to clipboard operation
MaterialSkin copied to clipboard

Material CheckedListBox doesn't contain Item Checked event and Click event doesnt work

Open Riri-Moon opened this issue 5 years ago • 5 comments

I've tried even mouse up event, only thing that could solve my problem is Leave event. However as you can understand this is not good solution.

Riri-Moon avatar Apr 19 '20 15:04 Riri-Moon

Thanks for reporting. I'll take a look, but feel free to try and solve this if you can.

leocb avatar Apr 19 '20 16:04 leocb

This solved my problem. I've added event for each checkbox in given control.

CheckedChanged

Riri-Moon avatar Apr 19 '20 17:04 Riri-Moon

Note for me or however wants to take this on: since this a component of components, a good idea would be to create a custom changed and click events that fires when any of the checkboxes it contains fire those events. with a eventhandler that contains the checkbox that caused the event. this will create an event that fires another event, in WPF terms: bubbling it up.

It's basically what Riri-Moon did on the comment above, but wrapped inside a custom event. Taking care to add and remove the event listeners as checkboxes could be added dynamically

leocb avatar Apr 22 '20 05:04 leocb

How is this fix going?

isaacdeveloper avatar Mar 26 '24 12:03 isaacdeveloper

This will never be fixed, this project is dead, move on from windows forms, it's an obsolete framework. Update to .net8 - Use WPF or MAUI.

leocb avatar Mar 26 '24 13:03 leocb