locked
tile background image to save filesize RRS feed

  • Question

  • http://blog.wpfwonderland.com/2009/04/04/using-a-tile-brush-in-expression-blend/

    this isnt quite what im looking for is it?

    im trying to take an image 20 by 20 Pixels and have it repeat to fill up the page

    Monday, June 10, 2013 8:05 PM

All replies

  • Eh, the link adds a bit more than you need but yes, you want TileBrush, with more specifically...TileMode set to "Tile";

    Examples, find the one labled "Tile" for some quick code snippet but its pretty straight forward. Cheers. :)

    http://msdn.microsoft.com/en-us/library/system.windows.media.tilebrush.tilemode.aspx





    Please mark answers as helpful when used, and answered when completed.

    Monday, June 10, 2013 9:12 PM
  • What platform are you using? In WPF it is as easy as the link KS.BlendDesigner provided, in Silverlight, it isn't built in.
    Tuesday, June 11, 2013 1:53 AM
    Moderator
  • expressions blend 4
    Tuesday, June 11, 2013 4:11 PM
  • expressions blend 4
    Tuesday, June 11, 2013 4:11 PM
  • What project type? You can create WPF, Silverlight and Windows Phone apps all in Blend 4, each has slightly different platform support.
    Tuesday, June 11, 2013 4:19 PM
    Moderator
  • What project type? You can create WPF, Silverlight and Windows Phone apps all in Blend 4, each has slightly different platform support.

    phone app
    Tuesday, June 11, 2013 7:54 PM
  • Here is a technique that should work for both SL and Windows Phone apps:

    http://www.wiredprairie.us/blog/index.php/archives/633

    Tuesday, June 11, 2013 8:05 PM
    Moderator