'Hi
'
'F�r sowas gibts Reflection:
'
'private ArrayList GetColors()
'{
'       Type t = typeof(Color);
'       ArrayList colorsX = new ArrayList();
'       System.Reflection.PropertyInfo[] colorPIs = t.GetProperties();
'       for(int i = 0; i < colorPIs.Length; i++)
'               if(colorPIs[i].GetGetMethod().ReturnType ==
typeof(Color))
'                       colorsX.Add(colorPIs[i].Name);
'       return colorsX;
'}

und mit welcher Eigenschaft von colorPIs[i] kann ich dann die BackColor
festlegen? Casten geht irgendwie nicht - bekomme zumindest eine
Fehlermeldung.

Danke

Rene


_______________________________________________
Asp.net Mailingliste, Postings senden an:
[EMAIL PROTECTED]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net

Antwort per Email an