introduction to windows presentation foundation (wpf) · pdf fileintroduction to windows...
TRANSCRIPT
Introduction to Windows Presentation Foundation (WPF)
Nicolai Marquardt
CPSC 581, Saul GreenbergiLab - University of Calgary, CanadaSeptember 2009
Nicolai Marquardt University of Calgary – Interactions Lab
581 TA
Name: Nicolai easier: NicEmail: [email protected]
Office: Math Science, 6th floor, 671
Nicolai Marquardt University of Calgary – Interactions Lab
Overview for today
1. Introduction to .NET 3.x and WPF (… a few slides)2. Top 3 recommended books, links, and resources3. “Hello WPF” and “Hello animated WPF”
Nicolai Marquardt University of Calgary – Interactions Lab
Introduction to WPF and .NET
Nicolai Marquardt University of Calgary – Interactions Lab
Source: Adam Nathan “Windows Presentation Foundation Unleashed”, SAMS Publishing 2007
What we will learn in the tutorials…
Nicolai Marquardt University of Calgary – Interactions Lab
• Developing applications with C#, WPF, and XAML• Using VisualStudio 2008
• Topics:• User interface elements• Animation and storyboards• Transformations (e.g., scale, rotate, translate)• Video• Sound (e.g., MIDI)• Data binding• Expression Blend designer• (… and a few others)
Unified framework: 2D, 3D, speech, video, etc.
Nicolai Marquardt University of Calgary – Interactions Lab
Examples: http://windowsclient.net/community/showcase.aspx
Hardware accelerated
Nicolai Marquardt University of Calgary – Interactions Lab
Example: British Libraryhttp://www.bl.uk/onlinegallery/virtualbooks/
Resolution independent
Nicolai Marquardt University of Calgary – Interactions Lab
Source: Adam Nathan “Windows Presentation Foundation Unleashed”, SAMS Publishing 2007
Extensible Application Markup Language (XAML)
Nicolai Marquardt University of Calgary – Interactions Lab
C#XAML
Rich composition and customization
Nicolai Marquardt University of Calgary – Interactions Lab
XAML
Example: video inside of button
Top 3 recommended WPF books, links, and resources
Nicolai Marquardt University of Calgary – Interactions Lab
Adam Nathan “Windows Presentation Foundation Unleashed”SAMS Publishing 2007
Top 3 recommended WPF books, links, and resources
Microsoft Developer Network (MSDN)
http://msdn.microsoft.comhttp://social.msdn.microsoft.com/forums/
Nicolai Marquardt University of Calgary – Interactions Lab
Top 3 recommended WPF books, links, and resources
Microsoft WindowsClient.NET
http://windowsclient.net/wpf/http://windowsclient.net/learn/videos_wpf.aspx
Nicolai Marquardt University of Calgary – Interactions Lab
Walkthrough
“Hands-on”:
• Create “Hello WPF” application• Create “Hello animated WPF” application
Nicolai Marquardt University of Calgary – Interactions Lab