|  | @@ -115,8 +115,8 @@ public class DynamicGridGridUIComponent<T> : IDynamicGridUIComponent<T>, IDynami
 | 
	
		
			
				|  |  |          DataGrid.Background = new SolidColorBrush(Colors.DimGray);
 | 
	
		
			
				|  |  |          DataGrid.AutoGenerateColumns = false;
 | 
	
		
			
				|  |  |          DataGrid.ColumnSizer = GridLengthUnitType.AutoLastColumnFill;
 | 
	
		
			
				|  |  | -        DataGrid.SelectionForegroundBrush = DynamicGridUtils.SelectionForeground;
 | 
	
		
			
				|  |  | -        DataGrid.RowSelectionBrush = DynamicGridUtils.SelectionBackground;
 | 
	
		
			
				|  |  | +        DataGrid.SelectionForegroundBrush = GetCellSelectionForegroundBrush() ?? DynamicGridUtils.SelectionForeground;
 | 
	
		
			
				|  |  | +        DataGrid.RowSelectionBrush =  GetCellSelectionBackgroundBrush() ?? DynamicGridUtils.SelectionBackground;
 | 
	
		
			
				|  |  |          
 | 
	
		
			
				|  |  |          DataGrid.AllowDraggingRows = false;
 | 
	
		
			
				|  |  |          DataGrid.Drop += DataGrid_Drop;
 | 
	
	
		
			
				|  | @@ -571,6 +571,8 @@ public class DynamicGridGridUIComponent<T> : IDynamicGridUIComponent<T>, IDynami
 | 
	
		
			
				|  |  |          DataGrid.ScrollInView(new RowColumnIndex(rowIdx, 0));
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    protected virtual Brush? GetCellSelectionForegroundBrush() => DynamicGridUtils.SelectionForeground;
 | 
	
		
			
				|  |  | +    protected virtual Brush? GetCellSelectionBackgroundBrush() => DynamicGridUtils.SelectionBackground;
 | 
	
		
			
				|  |  |      protected virtual Brush? GetCellBackground(CoreRow row, DynamicColumnBase column) => null;
 | 
	
		
			
				|  |  |      protected virtual Brush? GetCellForeground(CoreRow row, DynamicColumnBase column) => null;
 | 
	
		
			
				|  |  |      protected virtual double? GetCellFontSize(CoreRow row, DynamicColumnBase column) => null;
 | 
	
	
		
			
				|  | @@ -1091,8 +1093,8 @@ public class DynamicGridGridUIComponent<T> : IDynamicGridUIComponent<T>, IDynami
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      public void BeforeRefresh()
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  | -        DataGrid.SelectionForegroundBrush = DynamicGridUtils.SelectionForeground;
 | 
	
		
			
				|  |  | -        DataGrid.RowSelectionBrush = DynamicGridUtils.SelectionBackground;
 | 
	
		
			
				|  |  | +        DataGrid.SelectionForegroundBrush = GetCellSelectionForegroundBrush();
 | 
	
		
			
				|  |  | +        DataGrid.RowSelectionBrush = GetCellSelectionBackgroundBrush();
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      public void RefreshData(CoreTable data)
 |