WinForms: Control ListView checkbox painting

Posted by Telanor on Stack Overflow See other posts from Stack Overflow or by Telanor
Published on 2010-04-22T18:00:50Z Indexed on 2010/04/22 18:03 UTC
Read the original article Hit count: 465

Filed under:
|
|
|

It seems that the checkbox used in a ListView when CheckBoxes = true isn't a proper checkbox. It doesn't draw the MouseOver or MouseDown state and it doesn't support the Indeterminate/Intermediate state. How can I replace the checkbox with a standard checkbox control or take control of the drawing of just the checkbox so I can use the CheckBoxRenderer class?

© Stack Overflow or respective owner

Related posts about winforms

Related posts about listview