Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Change the string at the end of System.Drawing.Color. in Blazor [closed]

$
0
0

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?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>