O'Reilly logo

Pro Silverlight 5 in VB by Matthew MacDonald

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

Properties and Events in XAML

So far, you've considered a relatively unexciting example—a blank page that hosts an empty Grid control. Before going any further, it's worth introducing a more realistic page that includes several elements. Figure 2-1 shows an example with an automatic question answerer.

images

Figure 2-1. Ask the eight ball, and all will be revealed.

The eight ball page includes four elements: a Grid (the most common tool for arranging layout in Silverlight), two TextBox objects, and a Button. The markup that's required to arrange and configure these elements is significantly longer than the previous examples. Here's an abbreviated ...

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