Home Forums WinForms controls Xceed Grid for WinForms Getting color value of row Reply To: Getting color value of row

User (Old forums)
Member
Post count: 23064

Do something like this :

if( gridControl1.CurrentRow.GetDisplayBackColor() == Color.Chocolate )
{
System.Diagnostics.Debug.WriteLine( “Same color” );
}
else
{
System.Diagnostics.Debug.WriteLine( “Different color” );
}

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