Prev | Current Page 354 | Next

Matthew MacDonald

"Pro WPF with VB 2008: Windows Presentation Foundation with .NET 3.5"

If you look carefully, you can see both backgrounds show
through under some letters.
Figure 7-1. A window with several semitransparent layers
Here are the contents of the window in XAML. Keep in mind that this example includes
one detail you haven??™t examined yet??”the specialized ImageBrush for painting image content.
(You??™ll learn about the ImageBrush class in Chapter 13.)






BorderBrush="White">A semi-transparent text box


Transparency is a popular WPF feature??”in fact, it??™s so easy and works so well that it??™s a bit
of a WPF user-interface clich?©.


Pages:
342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366