OTS Solutions is a Software Development Company provides a wide range of software application outsourcing development services in .NET, ASP.NET, C#, Winforms, WPF, Silverlight, WCF etc, by their skilled developers to all around the world.
3. Agenda
What is Windows Presentation Foundation
What can it do
Why Use WPF
How can I make it do that
Advantages of WPF
Disadvantages of WPF.
11. What’s Windows Presentation Foundation?
The Windows Presentation Foundation is Microsoft’s
next generation UI framework to create applications with
a rich user experience. It is part of the .NET framework
3.0 and higher.
WPF combines application UIs, 2D graphics, 3D
graphics, documents and multimedia into one single
framework.
Its vector based rendering engine uses hardware
acceleration of modern graphic cards. This makes the
UI faster, scalable and resolution independent.
12. What’s Windows Presentation Foundation?
Next generation presentation subsystem for Windows
Unified programming model
Harness the power of new graphics hardware
Provide designers direct input into project development
Enables developers and designers to create visually
stunning user interfaces
13. WPF: Using the Hardware
Vector-based composition engine uses the PC’s graphics
power
Quality is preserved with scale
CPU freed from graphics work
Gain capability from graphics card advances
15. What type of Applications can be built
WPF intended to replace both webforms and windows
forms – apps can be built to run in a browser or a
standalone window
Windows forms and WPF pages/windows can co-exist in
the same application
One WPF page/window can have both types of controls
on it
A new type of web application called XAML Browser
Application XBAP (formerly Web Browser Application
WBA)
16. What do the applications look like
WPF intended to replace both webforms and windows
forms – apps can be built to run in a browser or a
standalone window
Windows forms and WPF pages/windows can co-exist
in the same application
One WPF page/window can have both types of controls
on it
A new type of web application called XAML Browser
Application XBAP (formerly Web Browser Application
WBA)
18. Why use WPF?
WPF is an especially great platform to use if your
applications involve various media types.If you need to
incorporate video, or documents, 3D content and
animated transitions between a sequence of images, or
a combination of any of the above.
WPF is also great if you need to create a skinned user
interface, or if you need to bind to XML data, or
dynamically load portions of a user interface from a
Web service, or want to create a desktop application
with a Web-like navigation style.
20. How can I make it do that?
XAML = Extensible Application Markup
Language
• Easily toolable, declarative markup
• Code and content are separate
• Can be rendered in the browser / standalone application
XAML C# VB.NET
<Button Width="100"> OK Button b1 = new Button(); Dim b1 As New Button
<Button.Background> b1.Content = "OK"; b1.Content = "OK"
LightBlue b1.Background = new b1.Background = New _
</Button.Background> SolidColorBrush(Colors.LightBlue); SolidColorBrush(Colors.LightBlue)
</Button> b1.Width = 100; b1.Width = 100
22. Advantages of WPF?
The ability to make very rich UIs relatively easily.
Easier animation and special effects
Inherent scalability
WPF builds on DirectX rather than WinAPI, harnessing
the power of the client computer's graphics system thus
giving much greater graphic rendering power
WPF uses a vector graphics system which means UIs are
completely re-sizeable without loss of quality
WPF supports flow document model that gives a
'desktop publishing' quality of layout
Supports ‘rich data visualisation’
26. WPF Summary
Deliver Innovative User Experiences
Increase Developer-Designer Productivity
Achieve Flexible Application Deployment
Leverage Existing Code Base & Skill Set
27. WPF Resources
WPF @ Windows Vista Developer Center
http://msdn.microsoft.com/windowsvista/building/presenta
tion/
WPF/.NET Framework 3.0 Community Site
Microsoft Expression
www.microsoft.com/expression
29. USA United kingdom India
4433 Merlin 88 Wood Street
Way , Soquel 10th Floor London
Gurgaon ( Haryana )
795, Udyog Vihar, Phase-V
CA 95073 EC2V 7RS
Gurgaon(Haryana) India
United States Ph: +44 208 099 1660
Ph: +91 124 4101350
Ph: +1 408 540 0001
+91 124 4748100
Write to us at: sales@otssolutions.com
Write to us at: sales@otssolutions.com Write to us at: sales@otssolutions.com
http://www.otssolutions.com/