I am trying to add color in c# code, with the following color code for example.
ListTreeView.Background = new SolidColorBrush(Colors.White);
This is working..but I want to add this color as color code so I am add as
System.Windows.Media
Could someone give me an example with
System.Drawing
So what I can do the following:
ListTreeView.Background = ColorTranslator.FromHtml("#FFE7EFF2");
This gives me error ; Any Ideas?