Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Fix type for case blueviolet (#14434)
Browse files Browse the repository at this point in the history
The 'v' in this case was uppercase causing this typeconverter to reject BlueViolet as a valid color value. Fixes #AB1286706 [XVS]XLS0431: Invalid value for property 'BackgroundColor': 'BlueViolet'
  • Loading branch information
mgoertz-msft committed Jul 20, 2021
1 parent ec1520e commit 809e755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Xamarin.Forms.Core/ColorTypeConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public override object ConvertFromInvariantString(string value)
return Color.BlanchedAlmond;
case "blue":
return Color.Blue;
case "blueViolet":
case "blueviolet":
return Color.BlueViolet;
case "brown":
return Color.Brown;
Expand Down

0 comments on commit 809e755

Please sign in to comment.