✅ Resource Dictionary(Code behind)

i wanna change a solid color brush color and i want to code read it from another resource dictionary (by an event)
c#
Application.Current.Resources["EnableBackGround"] = (SolidColorBrush)Application.Current.Resources["NeutralDark"];
c#
Application.Current.Resources["EnableBackGround"] = (SolidColorBrush)Application.Current.Resources["NeutralDark"];
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server