1 / 9

Your Data, Your Way Data Binding in the Windows Presentation Foundation

Ivan Towlson ECN Group. Your Data, Your Way Data Binding in the Windows Presentation Foundation. Preamble – WPF WTF?. The next-generation user interaction API for Windows Unifies graphics, forms/controls, media, documents and markup Graphical objects, not procedural drawing

arnold
Download Presentation

Your Data, Your Way Data Binding in the Windows Presentation Foundation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Ivan Towlson ECN Group Your Data, Your WayData Binding in the Windows Presentation Foundation

  2. Preamble – WPF WTF? • The next-generation user interaction API for Windows • Unifies graphics, forms/controls, media, documents and markup • Graphical objects, not procedural drawing • Built into Vista, part of .NET 3.0 download for XP

  3. Agenda • Motivation and background • Core data binding concepts • Lists and hierarchies • Tips, tricks and toys

  4. “Make it so.”

  5. Enough talk! Let’s bind!

  6. Dependency Properties This is where databinding happens

  7. Summary • Don’t think of it as data binding – think of it as document-view • Converters and templates reusably encapsulate mappings, renderings and editors • The true power is in the WPF content model and in declarative styles, triggers, etc. – data binding is the way to plug your models into that power • Data + converters/templates + rich content = ...

  8. Thanks! • Resources: • Books: Petzold, Nathan, Anderson, Sells & Griffiths 2e • Web: www.beacosta.com, sessions.visitmix.com (check out the session videos for XB003 comics and XBD05 supply chain visualisation) ivan@hestia.cc http://hestia.typepad.com/flatlander ivan.towlson@ecngroup.co.nz http://www.ecngroup.co.nz

More Related