I have a ListView which is bind dynamically to a list of object of the same type.
The object have a boolean value.
There a ListView column which display a checkbox instead of the “true” and “false” normal value for that specific property.
Is there a way to set that checkbox readonly ? otherwise is there a way to tell that the click is coming from this specific row in the events “checked” and “unchecked” which execute a method in code behind ?
Thanks!
You can make any control readonly by setting IsHitTestVisible and Focusable to false.
XAML:
Code behind: