삽질/WP7.C#

[WP7] 비트맵을 브러시로

푸딩s 2014. 6. 30. 17:29


비트맵을 브러시로

  

ImageBrush ib = new ImageBrush();

ib.ImageSource = new BitmapImage(new Uri("이미지", UriKind.Relative));

img.Foreground = ib;