Chapter 2. Working with Windows, Forms, and Layout Management

A major challenge in the development of good Windows user interfaces is creating a window and control layout that is not only functional but also attractive and easy to use. Another challenge is ensuring your interface can adapt correctly (preferably elegantly) to different localizations, window sizes, and screen resolutions.

The layout system provided by WPF is a significant change from that provided by Windows Forms and is closer in style to how web developers control layout using HTML and CSS. Generally, you should avoid positioning content directly using fixed coordinates and instead rely on the capabilities of various layout panels to size and arrange the content depending on the ...

Get WPF Recipes in C# 2008: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.