Actually the question is in the title.
The WPF solution doesn't fit (or I haven't figured out how to adapt it), and I couldn't find anything else specific.
The solution from here also could not be adapted, because Microsoft.Maui.Platform.MauiSlider is not converted to Microsoft.Maui.Platform.ContentPanel.
For the windows, you can add the
PointerWheelChangedevent for the slider. Put the following code in the App's constructor:The slider in the xaml is:
<Slider Minimum="0" Maximum="100"/>.But I can't find a solution for the mac.
Update:
If you only want to do this for a special Slider. You can remove the code above from the App's constructor. And use it:
In the xaml :
In the Page's OnHandlerChanged method:
This will only work for the
x:Name="slider".