Windows Presentation Foundation WPF Declare Your Next User

  • Slides: 25
Download presentation
Windows Presentation Foundation (WPF) Declare Your Next User Interface

Windows Presentation Foundation (WPF) Declare Your Next User Interface

Your Presenter: Jacob Good jake@developstuff. com http: //www. thoughtstoblog. com

Your Presenter: Jacob Good jake@developstuff. com http: //www. thoughtstoblog. com

Windows Presentation Foundation WPF

Windows Presentation Foundation WPF

WTF?

WTF?

WWF

WWF

Microsoft Windows. Net 3. 0

Microsoft Windows. Net 3. 0

Ohhhh PRETTY!

Ohhhh PRETTY!

What is WPF? • • Declarative Markup (XML Based) Vector Graphics Rendering Graphics Card

What is WPF? • • Declarative Markup (XML Based) Vector Graphics Rendering Graphics Card Accelerated / Optimized Complete Win 32, WF, HTML Integration Layered on top of. Net 2. 0 Available in Vista and XP SP 2. 0 Something that you can use NOW!

What WPF Isn’t • A complete replacement for Windows Forms • Just pretty buttons

What WPF Isn’t • A complete replacement for Windows Forms • Just pretty buttons and animations • Only for designers • Something that you can’t use right NOW

Remember HTML/XML?

Remember HTML/XML?

XAML (XML Based) <Page xmlns=“http: //schemas. microsoft. com/winfx/2006/xaml/presentation”> <Button>Hello World</Button> </Page>

XAML (XML Based) <Page xmlns=“http: //schemas. microsoft. com/winfx/2006/xaml/presentation”> <Button>Hello World</Button> </Page>

Demo

Demo

3 Ways to do WPF • Pure XAML • XAML + C# Code •

3 Ways to do WPF • Pure XAML • XAML + C# Code • C# CODE It’s all about abstraction… Presentation from Data / Implementation

Demo

Demo

Interaction with Data • New means of binding in XAML • Declarative syntax, Easy

Interaction with Data • New means of binding in XAML • Declarative syntax, Easy Data Sourcing

Demo

Demo

WPF in 3 D • Full Direct. X Utilization • Put that GFX Card

WPF in 3 D • Full Direct. X Utilization • Put that GFX Card to work • Yup, it’s declarative

Demo

Demo

How can you use it now? • Complete integration with Windows Forms – Host

How can you use it now? • Complete integration with Windows Forms – Host XAML content in Windows Forms 2. 0 – Host Windows Forms 2. 0 Content in XAML – Complete communication across boundaries Now available for development (GO-LIVE)

Deployment • MSI • Click. Once • XBAP – http: //www. thewpfblog. com/

Deployment • MSI • Click. Once • XBAP – http: //www. thewpfblog. com/

Demo

Demo

XAML Authoring Tools • • • XAMLPad ZAM 3 D Aurora XAML Editor (Mobiform)

XAML Authoring Tools • • • XAMLPad ZAM 3 D Aurora XAML Editor (Mobiform) My. Xaml Expression Tools (Interactive / Graphics)

Demo

Demo

Questions? • I’m not a designer • jake@developstuff. com • Just start playing with

Questions? • I’m not a designer • jake@developstuff. com • Just start playing with it people!

Resources • • http: //wpf. netfx 3. com/ http: //blogs. msdn. com/tims/ (Tim Sneath)

Resources • • http: //wpf. netfx 3. com/ http: //blogs. msdn. com/tims/ (Tim Sneath) http: //www. thewpfblog. com/ http: //msdn. microsoft. com/windowsvista/d ownloads/products/getthebeta/ • http: //msdn. microsoft. com/winfx/ • http: //blogs. inetium. com