C
C#2y ago
ApathyErr

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

3 Replies
ApathyErr
ApathyErrOP2y ago
Earlier in the code, using colors from ResourceDictionary did not cause errors
JakenVeina
JakenVeina2y 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
Accord2y 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.
Want results from more Discord servers?
Add your server