I have a data grid and a grid splitter:

The splitter is in the bottom and the data grid on the top and there is some empty space in between the two.
I think it would work fine if the grid splitter snapped into the data grid if its 24 or less units away from the data grid. Is this possible to archive?
I got it to snap per data grid rows with this:
The data grid rows are all 24 for me, I guess I could fetch them dynamically but that will do for now.
XAML: