2012-04-03 15 views

risposta

12

Usa ImageBrush impostare la proprietà Canvas.Background

ImageBrush ib = new ImageBrush(); 
ib.ImageSource = new BitmapImage(new Uri(@"sampleImages\berries.jpg", UriKind.Relative)); 
mycanvas.Background = ib;