lundi 27 mars 2017

WPF - Ticking checkbox when clicking anywhere on a datagrid row.

Datagrid example

The picture shows an example of some items added in my datagrid. Right now I can only change each rows checkbox by clicking on it but I would like to be able to click anywhere on each row to change that rows checkbox. The row is styled in a controltemplate with two labels and a checkbox.

Any tips on how to achieve this?




Aucun commentaire:

Enregistrer un commentaire