Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

15. XAML > XAML Syntax One More Time

XAML Syntax One More Time

XAML stands for ____________________________________________________.

To set the Width property of a <Window> element using attribute syntax, you’d write the following XAML:

To do the same thing using property syntax, you’d write the following XAML:

By convention, the default namespace of a XAML file refers to which of the following namespaces?

The XAML language namespace

The WPF namespace

The local assembly

It isn’t necessary to explicitly add children to elements in XAML because:


Take a Break

image

There’s lots else to learn about XAML, and we’ll look at some refinements in later chapters, but now you’ve seen the basic syntax. It’s certainly a lot easier than C#, isn’t it?

Why don’t you take a break before you do one final review and we move on to WPF logical and visual trees?


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint