So, I have made a WPF application, where I want to let the user customize certain objects of the User Interface.
I tried to do this with text files as colour properties, but I couldn't find a way of doing so.
I found that Hexadecimal was easier as an input.
I was thinking of doing it in a method similar to this:
string AvalonBackground = File.ReadAllText("./bin/Theme/TextEditorBackGround.txt");
this.TextEditorAvalon.Background = AvalonBackground; //we cannot implicitly convert a string into a solidcolorbrush, there are better methods of doing so.
Leave a comment or answer if you have the solution.
Thanks.