Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
When setting the Minimum property of a Slider to a negative number, the Maximum is automatically set to 0.
Expected behavior
Setting the Minimum should not affect the Maximum as long as the Minimum is less than or equal to the set Maximum.
How to reproduce it (as minimally and precisely as possible)
The following XAML will produce a Slider with Minimum of -500 and a Maximum of 0 (even though Maximum is explicitly set to 500).
<Slider Margin="4,0" Maximum="500" Minimum="-500"/>Carousel.zip
Workaround
If you set Minimum before Maximum, this works correctly:
<Slider Margin="4,0" Minimum="-500" Maximum="500"/>
Current behavior
When setting the Minimum property of a Slider to a negative number, the Maximum is automatically set to 0.
Expected behavior
Setting the Minimum should not affect the Maximum as long as the Minimum is less than or equal to the set Maximum.
How to reproduce it (as minimally and precisely as possible)
The following XAML will produce a Slider with Minimum of -500 and a Maximum of 0 (even though Maximum is explicitly set to 500).
<Slider Margin="4,0" Maximum="500" Minimum="-500"/>
Carousel.zipWorkaround
If you set Minimum before Maximum, this works correctly:
<Slider Margin="4,0" Minimum="-500" Maximum="500"/>
Environment
Nuget Package:
Nuget Package Version(s):
Affected platform(s):
IDE:
Relevant plugins:
Anything else we need to know?