.NET - Converting Color Name Strings into System.Drawing.Color

后端 未结 0 1059
逝去的感伤
逝去的感伤 2021-02-13 08:21

What is the best way to turn strings like \"red\", \"green\", \"yellow\", \"aliceblue\", etc... into the actual System.Drawing.Color value?

I was looking at reflection

相关标签:
回答
  • 消灭零回复
提交回复
热议问题