O'Reilly logo

Microsoft Silverlight 4 Business Application Development Beginner's Guide by Frank LaVigne, Cameron Albert

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - creating and using a VideoBrush

We're going to fill the entire Cake-O-Rama logo with video by using a VideoBrush to fill up the shapes from a MediaElement control. So, let's get started.

  1. Open up the CakeORama Logo solution in Expression Blend.
  2. In the previous section, we didn't name the MediaElement control; let's do that now. Find the [MediaElement] control in the Objects and Timeline panel.
  3. Right-click on the control and choose Rename. Rename the control to meButterfly.
  4. With the meButterfly MediaElement selected, choose Make Brush Resource|Make Brush Resource... from the Tools menu.
    Time for action - creating and using a VideoBrush
  5. When the Create VideoBrush Resource dialog appears, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required