O'Reilly logo

Microsoft® Visual Basic® 2010 Developer’s Handbook by Klaus Löffelmann and Sarika Calla Purohit

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

Extensible Application Markup Language

The Extensible Application Markup Language (XAML) is, like XML, a hierarchically oriented description language. With it, you can declare both user interface elements and graphics. Let’s go back to our first example (Figure 5-6). This time we’ll declare the designer part by using XAML. A note in advance: a designer wouldn’t type in the XAML code manually, of course, as we’ll be doing it in the example. Instead, he uses tools such as Expression Blend that turn their designs into XAML code. The following code sample shows the required XAML code for our first program:

<Window x:Class="Hello2.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" ...

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