Building User Interfaces in .NET with Windows Presentation Foundation - PowerPoint PPT Presentation

1 / 17
About This Presentation
Title:

Building User Interfaces in .NET with Windows Presentation Foundation

Description:

Ivan Towlson Mindscape User interface technologies in .NET WPF tiki tour Practicalities Windows Forms ASP.NET GDI+ Rich documents (HTML, Adobe Reader) Media Windows ... – PowerPoint PPT presentation

Number of Views:105
Avg rating:3.0/5.0
Slides: 18
Provided by: Ivan291
Category:

less

Transcript and Presenter's Notes

Title: Building User Interfaces in .NET with Windows Presentation Foundation


1
Building User Interfaces in .NET with Windows
Presentation Foundation
  • Ivan Towlson
  • Mindscape

2
Agenda
  • User interface technologies in .NET
  • WPF tiki tour
  • Practicalities

3
User Interface Options in .NET
  • Windows Forms
  • ASP.NET
  • GDI
  • Rich documents (HTML, Adobe Reader)
  • Media
  • Windows Presentation Foundation
  • Silverlight

4
What is WPF?
  • Umbrella framework for getting input from, or
    getting output to, users
  • Unifies forms, graphics (2D and 3D), documents
    and media
  • Take advantage of graphics cards even in normal
    applications
  • First-class support for markup

5
Tiki Tour of WPF
  • XAML
  • Layout
  • Controls
  • Commands and events
  • Styles and templates
  • Data binding
  • Animation
  • Navigation

6
Layout
  • The death of absolute positioning
  • Panels and documents
  • What are X, Dock and Row properties of?

7
Controls and Visuals
  • Content models
  • Graphics
  • Transforms and animation

8
Styles and Templates
  • Control Behaviour Rendering
  • Rendering Visual Tree Style
  • Custom controls vs. control templates

9
Data Binding
  • Binding to a data object
  • Binding to a collection
  • Binding to other controls
  • The awesome power of a fully operational data
    template

10
Events and Commands
  • Routed events and the tunnel/bubble model
  • Built-in commands
  • Custom commands

11
Application Models
  • Window applications
  • Navigation applications
  • Navigation, XBAP and the browser
  • Structured navigation

12
With great power...
13
Practicalities
  • Interoperability and migration
  • Design issues best practices, how do we
    structure WPF programs, etc.
  • Tools
  • Is WPF right for my project?

14
Migration
  • Adding WPF UI to a WinForms/Win32 application
  • Reusing WinForms/Win32 UI in a WPF application

15
Tools
  • Visual Studio 2005 via add-in
  • Visual Studio 2008
  • Expression Blend
  • ZAM 3D and other third-party tools

16
Should I Use WPF?
  • Development considerations documentation, tools,
    third-party / community support
  • Project management considerations availability
    of developers, skill levels required
  • Deployment considerations OS, rollout, perf
  • WPF has a huge payoff in terms of productivity
    and especially in making it simple to step up
    from GUI green screens to visualisation

17
Thanks!
  • Sells Griffiths, Programming WPF 2e
  • Petzold, Applications Code Markup
  • Nathan, WPF Unleashed
  • Anderson, Essential WPF

ivan_at_hestia.cc http//hestia.typepad.com/flatlande
r
ivan_at_mindscape.co.nz http//www.mindscape.co.nz
Write a Comment
User Comments (0)
About PowerShow.com