tyrus
10 years agoContributor
Scrolling in wpf grid
hi.
Does anyone know how to scroll a WPF Grid or a MS DataGrid?
So far I have been doing:
Aliases........RecordsView.Grid.dgMain.ScrollHost.ScrollableHeight// get # of scoll increments
//Then set the scroll position
Aliases...............RecordsView.Grid.dgMain.ScrollHost.VerticalOffset = #
but it only moves the scroll bar, it doesn't actually scroll the grid itself?
any thought?