Home Forums WinForms controls Xceed Grid for WinForms DataRowTemplateStyles & DataRow Visibility Reply To: DataRowTemplateStyles & DataRow Visibility

User (Old forums)
Post count: 23064

This will not be possible with a TemplateStyle. An option would be to derive from DataRow, override IsBackColorAmbiant so it returns false, and override DefaultBackColor to return color 1 or 2.

You could set a static boolean to the class which would tell if the color is now 1 or 2 for the current row.

Imported from legacy forums. Posted by André (had 3586 views)