Using Silverlight ImageBrush and BitmapImage

Rating: No reviews yet
Downloads: 778
Released: Oct 2, 2009
Updated: Oct 1, 2009 by d4moon
Dev status: Stable Help Icon

Recommended Download

Source Code
source code, 95K, uploaded Sep 28, 2009 - 778 downloads

Release Notes

This project demonstrates how to use ImageBrush and BitmapImage to fill area of shapes like rectangle or ellipse with an image.


1. create an Uri pointing to an image
2. create a new instance of BitmapImage and assign your Uri to it
3. create a new instance of ImageBrush and assign your created BitmapImage to its ImageSource value
4. using .Fill method on your Rectangle control fill the entire rectangle with your ImageBrush.

Too see the working version of this project and also for more details visit:

Reviews for this release

No reviews yet for this release.