KEMBAR78
Fix #3393: Option to turn off smooth scrolling by tom-englert · Pull Request #3405 · icsharpcode/ILSpy · GitHub
Skip to content

Conversation

tom-englert
Copy link
Contributor

This is a fixed version of #3394.

@siegfriedpammer siegfriedpammer merged commit 853e9d4 into icsharpcode:master Feb 20, 2025
5 checks passed
@siegfriedpammer
Copy link
Member

Thank you very much!

<Setter Property="toms:StyleBindings.Behaviors">
<Setter.Value>
<toms:BehaviorCollection>
<toms:AdvancedScrollWheelBehavior UseScrollingAnimation="{Binding Path=(util:SettingsService.DisplaySettings).EnableSmoothScrolling, Source={composition:Import util:SettingsService}}"/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accessing the DI container via a markup extension is an elegant solution 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants