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
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

15. XAML > Review

Review

image

Here’s a WPF <Window> that contains a <Grid> that uses two rows and two columns to lay out its children. Can you write the basic XAML to build it?

The syntax to specify which row and column of a Grid an element should be displayed in is

image

Now, for extra credit, create a new WPF project in Visual Studio and duplicate the window. Does your XAML match the code Visual Studio created?


  

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
  • DownloadDownload
  • PrintPrint