✅ 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"];
Was this page helpful?