Skip to Content
Programming Windows®, Six Edition
book

Programming Windows®, Six Edition

by Charles Petzold
January 2013
Intermediate to advanced content levelIntermediate to advanced
1136 pages
34h 9m
English
Microsoft Press
Content preview from Programming Windows®, Six Edition

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

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

Programming Windows®, Fifth Edition

Programming Windows®, Fifth Edition

Charles Petzold
Programming C# 10

Programming C# 10

Ian Griffiths

Publisher Resources

ISBN: 9780735671751Purchase book