I want to change the color mentioned at the end of the color names. For example, if we have System.Drawing.Color.Red I want to pass a string variable to change the Red to say, Pink or Orange after a user types it in an input field and presses a button. So System.Drawing.Color.(variable)
How do I do that?
This will be used to make an xml Component attribute as below:
<ComponentName color="System.Drawing.Color.(variable)" />How can I do this?