Painting the user interface (UI) with SolidColorBrush


show more Painting the user interface (UI) with SolidColorBrush provides you with in-depth training on Developer. Taught by Walt Ritscher as part of the Silverlight 5 Essential Training show less
please wait ...

Painting the user interface (UI) with SolidColorBrush

You won't find the back color or fore color property in Silverlight. That's because Silverlight uses a more sophisticated painting system based on brushes. These brushes are quite useful, as you'll see in this chapter. I am going to start my demo in Visual Studio, in a project called PaintingUIWithSolidColors. I've created a class diagram that shows the relationships between the different brushes. At the top of this class diagram is the Abstract Brush. The brush that we're going to look at in this chapter is the SolidColorBrush. There are also several kinds of GradientBrushes.

The Gradient brush paints with more than one color. There is the Radial and the LinearGradientBrush. The next category is the TileBrushes. All of these brushes can render their contents in small tiled versions of the original content. The ImageBrush is used to paint the pixels of a picture onto other UI. The VideoBrush does the same except with video content. The WebBrowserBrush copies the conten...

Painting the user interface (UI) with SolidColorBrush
Video duration: 6m 7s 8h 52m Beginner

Viewers:

Painting the user interface (UI) with SolidColorBrush provides you with in-depth training on Developer. Taught by Walt Ritscher as part of the Silverlight 5 Essential Training

Subject:
Developer
Software:
Silverlight Visual Studio
Author:
please wait ...