I need to create a backgroud using a single image (100x100px) and repeat (using code) it on the screen (like a texture ), how I can realize all of this? A simple code:
<phone:Panorama>
<phone:Panorama.Background>
<ImageBrush Strech="????" ImageSource="/img/texture.png"/>
</phone:Panorama.Background>
</phone:Panorama>
THE PROBLEM :
Thank you for the help.
Since there is no options to tile ImageBrush
, you should try to set the tiling background for panorama control via overrided panorama template. Here is example with xaml code on a background . You can put the tiling image instead of xaml code.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.