Changing the step size of a slider (expression with variable)


I am trying to find a way to change the step size of a slider with another slider or panel input.

I have a few sliders in my script that have the expression x*25 but I want to be able to change that number (from 4.0 to 30.0). I couldn’t figure out how to do it w. python or C# as there is no ‘Expression’ property of the Slider that I can change.

I know I could just multiply all sliders with the number and read out the value on a panel but it would be nice to have it all in the sliders.