AD
Administrator
Syncfusion Team
March 23, 2005 11:34 PM UTC
Try casting the style to a GridTableCellStyleInfo. Then you can access the column name to test for a particular column by name instead of column position.
GridTableCellStyleInfo style = e.Style as GridTableCellStyleInfo;
Console.WriteLine(style.TableCellIdentity.Column.MappingName);