I have to access to ScrollViewer in GridControl to do a synchronization with my other GridControls on scrolling.
Before I used vanilla DataGrid and it was quite easy to get ScrollViewer via VisualTreeHelper and then to subscribe to the ScrollChanged events.
I tried the same approach with GridControl but no luck. VisualTreeHelper.GetChildrenCount()
gives me 0 and also LogicalTreeHelper.GetChildren()
gives me an empty iterator.
But..
WPF Snooper can access logical and visual trees just perfectly perfect! So, what I've done wrong and why I am not able to get the information WPF Snooper is able to get?