0
votes

I use a WPF DataGrid which contains various rows each of which can have a different height. When I scroll the grid, the scrollbar changes its size. I think this is because of the different row-heights. Is there a way to fix this, so that the scrollbar doesn't change its size while scrolling?

1
can u knock up quick XAML for that problem ?Bek Raupov

1 Answers

0
votes

I'm sure you probably resolved this by now but I had the same issue and added

  ScrollViewer.CanContentScroll="False"

to my DataGrid attributes in XAML