ho trovato la soluzione in questo articolo: http://zones.advisor.com/doc/17047 a cui ho apportanto una correzione (penso per la trasposizione in c# da vb.net)
ciao a tutticodice:Color c = new Color(); System.Type type = c.GetType(); System.Reflection.PropertyInfo[] propInfo = type.GetProperties(); ArrayList colorName = new ArrayList(); foreach(System.Reflection.PropertyInfo pi in propInfo) { if (pi.Name != "Transparent" && pi.PropertyType.Name == "Color") cmbColor.Items.Add(pi.Name); }![]()