sharp paleta hexadecimal grey fromargb colores color c# colors drawing

c# - paleta - Convertir System.Windows.Media.Color a System.Drawing.Color



system.drawing.color hexadecimal c# (1)

private void DialogFont_Load(object sender, EventArgs e) { LoadInstalledFonts(); SetupInitialDialogSelections(); lblPreview.ForeColor = colorPicker1.colorPickerControlView1.CurrentColor.Color; }

Me gustaría convertir el valor a un System.Drawing.Color.

¿Algunas ideas?


System.Windows.Media.Color mediacolor; // your color var drawingcolor = System.Drawing.Color.FromArgb( mediacolor.A, mediacolor.R, mediacolor.G, mediacolor.B);