You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Describe the bug
ConstrainedBoxcrashes with all cultures not using '.' as the decimal separator.Reason
ConvertToAspectRatioinAspectRatiousesConvert.ToDoublewhich is region/culture-sensitive.The method will crash if you try to parse "1.666" if the region is France, Italy or other regions not using '.' as the decimal separator.
Instead, the method should use:
double value = double.Parse(number, NumberStyles.AllowDecimalPoint, CultureInfo.CurrentCulture);Steps to Reproduce
Steps to reproduce the behavior:
Regional Formatto France, Italy or RecommendedConstrainedBoxcontrolExpected behavior
Not crash :)
Screenshots
Environment
NuGet Package(s): 7.1.0-rc1
Package Version(s):
Windows 10 Build Number:
App min and target version:
Device form factor:
Visual Studio version: