O'Reilly logo

Windows Store App Development: C# and XAML by Pete Brown

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

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 ...

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