F
francois
Hi all,
The WebControl.BackColor expect a Drawing.Color object which i find extremly
inconvenient to use as mainly in the web world we use things like "#CC1235"
to define a color, the hexadecimal code.
Then my question is:
How can I give a value to WebControl.BackColor if all I got is a string
containing the hexadecimal value like "#CC1235" ?
I assume I need to create and instance of Color object somehow but how? Also
I have seen the classes WebColorConverter but how to use it? Is it
something that I could use for my case?
Thanks a lot,
Francois
The WebControl.BackColor expect a Drawing.Color object which i find extremly
inconvenient to use as mainly in the web world we use things like "#CC1235"
to define a color, the hexadecimal code.
Then my question is:
How can I give a value to WebControl.BackColor if all I got is a string
containing the hexadecimal value like "#CC1235" ?
I assume I need to create and instance of Color object somehow but how? Also
I have seen the classes WebColorConverter but how to use it? Is it
something that I could use for my case?
Thanks a lot,
Francois