wow grazie mille....
secondo te qual'è la soluzione più "pulita"?
Ma è anche possibile associare dinamicamente l'"on clik"?codice:Matrice[xx, yy] = new TextBlock(); Matrice[xx, yy].Name = "tb_" + xx + yy; Matrice[xx,yy].Height = 100; Matrice[xx,yy].Width = 100; Matrice[xx, yy].Margin = "10,100,0,0"; DataGrid.Children.Add(Matrice[xx, yy]);
Grazie!