Radically Different User Interfaces with Windows Presentation Foundation Data Templates
Play Radically Different User Interfaces with Windows Presentation Foundation Data Templates
Are you tired of "one-size-fits-all" user interfaces? User needs vary, and your application should adapt. Windows Presentation Foundation (WPF) data templates allow complete separation of the presentation of information from the underlying data store. WPF controls such as the ListBox, ListView, and ComboBox can show data items any way you want, using data templates. You can change the presentation on the fly, and provide different ways of looking at information optimized for different circumstances. You can have different templates for different users, or different templates for different types of items, or a different template for selected items, or even interactive templates that allow the user to edit information inside a ListBox! This session explains the basics of data templates, and how to get all the capabilities listed above. We finish with some real-world recommendations on design of data templates for common business applications. To get the most out of this session, it's helpful if you understand the basics of WPF layout and data binding. However, even if you're just getting started in WPF, this session can open your eyes to possibilities you probably didn't realize existed.