Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
You can subscribe to the ScrollChangedEvent routed event . The ScrollChangedEventArgs event argument has detailed information about the scroll. If this is not enough - use the OrigianSource property, which points to a ScrollViewer , from which you can already request the current HorizontalOffset and VerticalOffset
Probably the most convenient way would be to hook on Track: https://docs.microsoft.com/ru-ru/dotnet/api/system...
Or Thumb: https://docs.microsoft.com/ru-ru/dotnet/api /system...
which is the ScrollBar slider: https://docs.microsoft.com/ru-ru/dotnet/api/system...
but then it will turn out, reacting to OnDragComplete to react to scrolling only with the slider
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question