Skip to Content
Essential Windows Presentation Foundation
book

Essential Windows Presentation Foundation

by Chris Anderson
April 2007
Beginner
512 pages
11h 9m
English
Addison-Wesley Professional
Content preview from Essential Windows Presentation Foundation

6. Data

WINDOWS PRESENTATION FOUNDATION differs from many UI frameworks in how it treats data. The old User32-based UI model was fairly data-agnostic. Controls contained data, and displaying something required transforming the data into something the control understood. Other frameworks, like Java’s Swing library, had a strict data model that required separation between data and control. In WPF we wanted a separation between data and UI to be possible but not required.

Although WPF enables the mixing of data and UI, generally data-driven models provide more flexibility and ability to integrate the work of both developers and designers.

Data Principles

Most applications are built to display or create some type of data. Whether that data is a document, ...

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

Intermediate Windows Presentation Foundation

Intermediate Windows Presentation Foundation

Mark Long
Windows® Presentation Foundation Unleashed

Windows® Presentation Foundation Unleashed

Adam Nathan, Daniel Lehenbauer - Lead Developer Responsible for WPF 3D

Publisher Resources

ISBN: 0321374479Purchase book