设置单元格的背景色:
<dxg:GridColumn.CellStyle>
<Style BasedOn="{StaticResource {dxgt:GridRowThemeKey ResourceKey=LightweightCellStyle}}" TargetType="{x:Type dxg:LightweightCellEditor}">
<Setter Property="Background" Value="{Binding Path=RowData.Row.BackgroundColor}"/>
</Style>
</dxg:GridColumn.CellStyle>