Hi,
How Can I set a image in to specific cell on all selected rows.
i tried something like this:
foreach (MyObject obj in MyGrid.SelectedItems) |
{ |
System.Windows.Controls.Image image = new System.Windows.Controls.Image(); |
image.Source = new BitmapImage(new Uri(@"[...]")); |
((MyObject)MyGrid.SelectedItem).myImage= image; |
} |
the problem with this code is that the last row is the only row effected.