Cell Format

Oct 5, 2009 at 11:35 PM

I have an application that creates multiple WPFToolkit DataGrid dynamically like this.  I need to format these cells after editing each cell.  What I'm doing is entering a three digit number in each cell (i.e. 123).  I would like to format the cell like this (i.e. 0.123).  I need to do this in c#, code behind not in xaml. 


for (a = 0; a < CurrentTableNames.Count(); a++)


currentdg[a] = new DataGrid();