Quantcast
Channel: repeat-x in Silverlight
Viewing all articles
Browse latest Browse all 8

repeat-x in Silverlight

$
0
0

There is a much better way to do this.

If you have a repeating background that is 1 pixel wide, do this:

<Image Source="<repeating image source>" HorizontalAlignment="Stretch" Height="<height of image>" Stretch="Fill"></Image>

It doesn't "repeat", but it fakes the computer into stretching 1 pixel into many.


Viewing all articles
Browse latest Browse all 8

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>