Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- App cur = (App)Application.Current;
- Style grayStyle = new Style(typeof(Button));
- grayStyle.Setters.Add(new Setter(Button.BackgroundProperty, Brushes.Gray));
- ....
- Application.Current.Resources.Add(typeof(Button), grayStyle);
Add Comment
Please, Sign In to add comment