C
C#15mo ago
ApathyErr

❔ WPF Inserting a color from the ResourceDictionary into the button code gives an error

3 Replies
ApathyErr
ApathyErr15mo ago
Earlier in the code, using colors from ResourceDictionary did not cause errors
JakenVeina
JakenVeina15mo ago
I mean the error tells you exactly what's wrong the type of primaryBackColor1 (System.Windows.Media.Color) is incompatible with the type of Button.Background (System.Windows.Media.Brush)
Accord
Accord15mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.