We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The new ColorPicker throws InvalidCastException("Cannot convert the given input to a valid color") on startup
ColorPicker
InvalidCastException("Cannot convert the given input to a valid color")
In the demo App set a default color in the ColorPicker-Example
<mah:ColorPicker mah:TextBoxHelper.AutoWatermark="True" mah:TextBoxHelper.ClearTextButton="True" mah:TextBoxHelper.UseFloatingWatermark="True" mah:TextBoxHelper.Watermark="Select a color" DefaultColor="Blue" SelectedColor="{Binding ElementName=ColorCanvasExample, Path=SelectedColor}" />
The ColorPicker should respect the default color
MahApps.Metro version: v2.4.0 Windows build number: Win10 19042 [Version 10.0.18363.836] Visual Studio: 2019 16.8.2 Target Framework: .Net Core 3.1 (v4.5.2, v4.7.2)
The text was updated successfully, but these errors were encountered:
(GH-3986) Fix InvalidCastException at ColorPicker when a DefaultColor…
ea03383
… is set
Successfully merging a pull request may close this issue.
Describe the bug
The new
ColorPicker
throwsInvalidCastException("Cannot convert the given input to a valid color")
on startupSteps to reproduce
In the demo App set a default color in the
ColorPicker
-ExampleExpected behavior
The ColorPicker should respect the default color
Actual behavior
Environment
Screenshots
The text was updated successfully, but these errors were encountered: