windows presentation foundation (wpf) declare your next user interface

25
Windows Presentation Foundation (WPF) Declare Your Next User Interface

Upload: julian-lucas

Post on 13-Jan-2016

242 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Windows Presentation Foundation (WPF) Declare Your Next User Interface

Windows Presentation Foundation (WPF)

Declare Your Next User Interface

Page 2: Windows Presentation Foundation (WPF) Declare Your Next User Interface

Your Presenter: Jacob Good

[email protected]

http://www.thoughtstoblog.com

Page 3: Windows Presentation Foundation (WPF) Declare Your Next User Interface

Windows Presentation Foundation

WPF

Page 4: Windows Presentation Foundation (WPF) Declare Your Next User Interface

WTF?

Page 5: Windows Presentation Foundation (WPF) Declare Your Next User Interface

WWF

Page 6: Windows Presentation Foundation (WPF) Declare Your Next User Interface

Microsoft Windows .Net 3.0

Page 7: Windows Presentation Foundation (WPF) Declare Your Next User Interface

Ohhhh PRETTY!

Page 8: Windows Presentation Foundation (WPF) Declare Your Next User Interface

What is WPF?

• Declarative Markup (XML Based)

• Vector Graphics Rendering

• Graphics Card Accelerated / Optimized

• Complete Win32, WF, HTML Integration

• Layered on top of .Net 2.0

• Available in Vista and XP SP2.0

• Something that you can use NOW!

Page 9: Windows Presentation Foundation (WPF) Declare Your Next User Interface

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

Page 10: Windows Presentation Foundation (WPF) Declare Your Next User Interface

Remember HTML/XML?

Page 11: Windows Presentation Foundation (WPF) Declare Your Next User Interface

XAML (XML Based)

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

Page 12: Windows Presentation Foundation (WPF) Declare Your Next User Interface

Demo

Page 13: Windows Presentation Foundation (WPF) Declare Your Next User Interface

3 Ways to do WPF

• Pure XAML

• XAML + C# Code

• C# CODE

It’s all about abstraction…

Presentation from Data / Implementation

Page 14: Windows Presentation Foundation (WPF) Declare Your Next User Interface

Demo

Page 15: Windows Presentation Foundation (WPF) Declare Your Next User Interface

Interaction with Data

• New means of binding in XAML

• Declarative syntax, Easy Data Sourcing

Page 16: Windows Presentation Foundation (WPF) Declare Your Next User Interface

Demo

Page 17: Windows Presentation Foundation (WPF) Declare Your Next User Interface

WPF in 3D

• Full DirectX Utilization

• Put that GFX Card to work

• Yup, it’s declarative

Page 18: Windows Presentation Foundation (WPF) Declare Your Next User Interface

Demo

Page 19: Windows Presentation Foundation (WPF) Declare Your Next User Interface

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)

Page 20: Windows Presentation Foundation (WPF) Declare Your Next User Interface

Deployment

• MSI

• ClickOnce

• XBAP– http://www.thewpfblog.com/

Page 21: Windows Presentation Foundation (WPF) Declare Your Next User Interface

Demo

Page 22: Windows Presentation Foundation (WPF) Declare Your Next User Interface

XAML Authoring Tools

• XAMLPad

• ZAM 3D

• Aurora XAML Editor (Mobiform)

• MyXaml

• Expression Tools (Interactive / Graphics)

Page 23: Windows Presentation Foundation (WPF) Declare Your Next User Interface

Demo

Page 24: Windows Presentation Foundation (WPF) Declare Your Next User Interface

Questions?

• I’m not a designer

[email protected]

• Just start playing with it people!

Page 25: Windows Presentation Foundation (WPF) Declare Your Next User Interface

Resources

• http://wpf.netfx3.com/

• http://blogs.msdn.com/tims/ (Tim Sneath)

• http://www.thewpfblog.com/

• http://msdn.microsoft.com/windowsvista/downloads/products/getthebeta/

• http://msdn.microsoft.com/winfx/

• http://blogs.inetium.com