Ver código fonte

Fixed colouring of Image cells in grids.

Kenric Nugteren 7 meses atrás
pai
commit
3daac2f706

+ 4 - 0
inabox.wpf/DynamicGrid/UIComponent/DynamicGridGridUIComponent.cs

@@ -1115,6 +1115,10 @@ public class DynamicGridGridUIComponent<T> : IDynamicGridUIComponent<T>, IDynami
 
             newcol.HeaderStyle = GetHeaderCellStyle(column);
 
+            var cellstyle = GetCellStyle(column);
+            AddCellStyleConverters(cellstyle, column, sColName);
+            newcol.CellStyle = cellstyle;
+
             DataGrid.Columns.Add(newcol);
             ColumnList.Add(column);
         }