Skip to Main Content
Windows Store App Development: C# and XAML
book

Windows Store App Development: C# and XAML

by Pete Brown
June 2013
Intermediate to advanced content levelIntermediate to advanced
624 pages
20h 56m
English
Manning Publications
Content preview from Windows Store App Development: C# and XAML

Chapter 6. Panels

This chapter covers

  • The Panel, Canvas, and Grid
  • The StackPanel and VirtualizingStackPanel
  • Creating a panel from scratch

In the previous chapter you learned about the WinRT XAML layout system. This system is based on the UIElement class, the FrameworkElement class, and, most importantly, the Panel base class.

This chapter is about the classes that derive from the Panel base class. Collectively, these are referred to simply as panels. A panel in XAML contains any number of child elements in the Children collection. How it arranges those children is up to the panel itself. Some panels use simple X,Y positioning, some use a row and column approach, and some simply automatically arrange based on the order in which elements ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Windows 8.1 Apps with XAML and C# Unleashed

Windows 8.1 Apps with XAML and C# Unleashed

Adam Nathan
Pro Windows 8.1 Development with XAML and C#

Pro Windows 8.1 Development with XAML and C#

Jesse Liberty, Philip Japikse, Jon Galloway

Publisher Resources

ISBN: 9781617290947Publisher SupportPublisher WebsitePurchase LinkOther