如何从 System.windows.Media.Color 对象中提取颜色名称(例如“绿色”)?该.tostring()方法为我提供了十六进制格式 #ff008000。
.tostring()
wpf
wpf ×1