I am guessing there should be a pretty easy solution for this but I havent been able to figure it out I am still a wpf novice so any help on how to get the mouse scroll to work over the datagrid would be appreciated. I am able to move the scrollbar of the scrollviewer directly though. The problem i am facing is that when using the mouse to scroll, it works fine when it is over the button but as soon as i move the mouse pointer over the grid and try to scroll, nothing happens. ObservableCollection testList = new ObservableCollection() The WPF and C# code is below Īnd the C# code is as follows public partial class Window1 : Window I am trying to figure out how to get the mouse scroll working on a wpf window with a scrollviewer and a datagrid within it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |