hi, I am new to WPF datagrid. I have a Windows Form program needs to port to WPF.
In the Windows Form program, there is a datagrid displaying some data from a byte.
The byte(whose name in code is RawData) data is actually a block of data from physical memory.
for (int i = 0; i < (lens / 16 + 1); i++)
for (int j = 0; (j < 16) && ((j + 16 * i) < lens-1); j++)
dataGridViewDump.Rows[i].Cells.Value = i.ToString("X8");
int v = RawData[j + i * 16];
dataGridViewDump.Rows[i].Cells[j + 1].Value = v.ToString("X2");
When porting to WPF datagrid, I don't know how to do. Will anyboby kindly help me out?
My purpose is just to display a block of memory data like debug.exe does.