views:

701

answers:

2

Warning: Silverlight/WPF n00b

I'm just starting looking at Silverlight. It just became apparent that brushes are not tile-able in Silverlight, unlike WPF. I'd like to tile a graphic in a grid control. The image is basically tile able per grid cell. Can a use multiple brushes per control, or should I use lots of image controls, or?

Thanks in advance.

A: 

Have a look at this link...

Silverlight 3.0: Tile Effect with a Pixel Shader

Although I could not use this, I'm accepting this as it is a correct answer to my question.
prestomation
A: 

I had to stick with SL 2 for this project, so unfortunately shaders were not an option. My control had a fairly strict predetermined size, so I manually tiled the graphic onto a larger canvas.

prestomation