tags:

views:

27

answers:

1

Hi I'm working with a DataGrid in Silverlight. If I have enough items so that the vertical scrollbar is visible for all sizes of the window, and I resize the window a few times, the vertical scroll gets out of sync. The thumb gets to small as if the control thinks that there are more items then it is. When I drag the thumb towards the bottom or the top, the content starts to jump. It happens all the time, very frustrating. The datagrid is laying within a dockpanel that is resized according how large the window is (no specific size that is)

Anyone have any ideas?

Best Daniel

A: 

I have some similar issues. Most of them could be resolved by calling UpdateLayout on the datagrid.

I too have a datagrid in a dockpanel. When I scroll down and select the bottom record and then reload my datagrid the horizontal scrollbar seems to cover the last record. And the vertical scrollbar appears to be as far down as possible and cannot be dragged down further.

If i use the scrollwheel on the mouse the last record can be brought into view.

This only occurs when i show my application in a maximized window.

Have you gotten anywhere with this?

Truls Clauss
I have done the same, and I also have problems with the last item in the view
Daniel Enetoft