gridConditionalFormatDescriptor1.Appearance.AnyHeaderCell.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(255)), ((System.Byte)(192))));
gridConditionalFormatDescriptor1.Expression = "[CategoryID]=5";
gridConditionalFormatDescriptor1.Name = "Criteria 2";
gridConditionalFormatDescriptor2.Appearance.AnyRecordFieldCell.BaseStyle = "Beige";
gridConditionalFormatDescriptor2.Name = "Criteria 1";
gridConditionalFormatDescriptor2.RecordFilters.Add(new Syncfusion.Grouping.RecordFilterDescriptor("CategoryID", Syncfusion.Grouping.FilterLogicalOperator.Or, new Syncfusion.Grouping.FilterCondition[] {
new Syncfusion.Grouping.FilterCondition(Syncfusion.Grouping.FilterCompareOperator.Equals, "2")}));
this.gridGroupingControl1.TableDescriptor.ConditionalFormats.Add(gridConditionalFormatDescriptor1);
this.gridGroupingControl1.TableDescriptor.ConditionalFormats.Add(gridConditionalFormatDescriptor2);
Stefan