Saving user color settings of a clicked Button in WPF
I have a little problem with saving some properties of my Buttons. The Buttons are small and with a variety of colors. When i press one button, some specified colors are changing... and i want to save them for the next start up. The textbox values i can save them but this ...i can't. Code: public MainWindow() { InitializeComponent(); //blueColor.RaiseEvent(new RoutedEventArgs(Button.ClickEvent)); //this.Property = Properties.Settings.Default.userColor; } private void blueColor_Click(object sender, RoutedEventArgs e) { var bc = new BrushConverter(); Main.Background = (Brush)bc.ConvertFrom("