G
Guest
I have an xml file that I use to set values of DataGridStyles - header text, column width etc
I would also like to make the background color selected other items data driven
What is the smart way to associate and apply a color
string mybackground = "SandyBrown
but ...
objDGTS.BackColor=System.Drawing.Color.SandyBrown
I want to do 2 things, validate mybackground is one of the named colors - then
be able to write - somehow ...
objDGTS.BackColor=??( System.Drawing.Color)mybackground
Thanks Andrew
I would also like to make the background color selected other items data driven
What is the smart way to associate and apply a color
string mybackground = "SandyBrown
but ...
objDGTS.BackColor=System.Drawing.Color.SandyBrown
I want to do 2 things, validate mybackground is one of the named colors - then
be able to write - somehow ...
objDGTS.BackColor=??( System.Drawing.Color)mybackground
Thanks Andrew