Hi ! I attached an EventHandler
to the MouseDoubleClick
event.
<Style TargetType="ListViewItem" BasedOn="{StaticResource MyStyle}">
<EventSetter Event="MouseDoubleClick" Handler="ListViewItem_MouseDoubleClick" />
</Style>
private void ListViewItem_MouseDoubleClick(object sender, RoutedEventArgs e) {}
The ListView
's View is based on the GridView
, one of the column contains a CheckBox
.
I want to be able to ignore the double click if the CheckBox
is double-clicked.
The problem is that I cannot find the original source (CheckBox) to block it, as with routing event I got the Theme
as the original source, and with direct I got the ListViewItem
.