I see the following behavior with a WPF Datagrid. When there are more items then the height of the view area, the vertical scroll is available. When I click on the last row in the view, an automatic scroll occurs where the row that was just below the last comes into view.
The first column of the datagrid is a checkbox. When the user clicks on this last row, I'm not getting the event for checkbox clicks. The checkboxes in all other rows work OK.
I'd like to disable the automatic scroll, but can't figure how to do it.
<Style x:Key="SingleClickEditing" TargetType="{x:Type toolkit:DataGridCell}">
<EventSetter Event="CheckBox.Checked" Handler="OnChecked"/>
<EventSetter Event="CheckBox.Unchecked" Handler="OnChecked"/>
</Style>