O'Reilly logo

Programming Windows®, Six Edition by Charles Petzold

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 4. Presentation with Panels

A Windows Runtime program generally consists of one or more classes that derive from Page. Each page contains a visual tree of elements connected in a parent-child hierarchy. A Page object can have only one child set to its Content property, but in most cases this child is an instance of a class that derives from Panel. Panel defines a property named Children that is of type UIElementCollection—a collection of UIElement derivatives, including other panels.

These Panel derivatives form the core of the Windows Runtime dynamic layout system. As the size or orientation of a page changes, panels can reorganize their children to optimally fill the available space. Each type of panel arranges its children differently. ...

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