Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 8th, 2012  |  syntax: None  |  size: 0.44 KB  |  hits: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to display an image brush in the background of a border
  2. <Border>                
  3.      <Border.Background>
  4.         <ImageBrush Stretch="Fill">
  5.             <ImageBrush.ImageSource>
  6.                 <BitmapImage UriSource="http://10.218.23.10/myPic.jpg" />
  7.             </ImageBrush.ImageSource>
  8.         </ImageBrush>
  9.      </Border.Background>
  10. </Border>
  11.        
  12. <Border>
  13.            <Image Source="http://10.218.23.10/myPic.jpg"/>
  14.       </Border>