WPF DataGrid Scrollbar resizes in funny ways
I use a WPF DataGrid which contains various rows each of wh开发者_StackOverflow中文版ich 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?
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
精彩评论