Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Invalid value for slider minimum

$
0
0

Hello,

i'm trying to set a minimum value for a slider:

Slider slider = new Slider
{
    Minimum = 30.0,
    Maximum = 60.0,
    Value = 45.0
};

This results in an exception:

System.ArgumentException: Value was an invalid value for Minimum

Parameter name: value

I can set the minimum without problems to zero or a negative value, but a value greater than zero throws the error.

Is this working as intended or a bug?

Regards,
Dirk


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>