Introducing WPF and XAML
Presenter: Harsh Wardhan, Mindfire SolutionsDate: 16/09/2013
Presenter: Harsh Wardhan, Mindfire Solutions
Agenda
- What is WPF?- A look into the past.- Features of WPF.- Understanding WPF architecture.- Types of WPF application.- What is XAML?- Where is XAML used today?- When to use WPF?
Presenter: Harsh Wardhan, Mindfire Solutions
What is WPF?
- Next-generation presentation system for building rich windows client applications.
- A graphics rendering engine.- It is a framework for designers and
developers.- Part of .net framework.
Presenter: Harsh Wardhan, Mindfire Solutions
A look into the past
- GDI & User32 introduced in 1985 with windows 1.0.
- DirectX came into picture in 1995.- WPF formerly known as “Avalon” was
introduced in 2003 with .net 3.0.
Presenter: Harsh Wardhan, Mindfire Solutions
Features of WPF
- Broad Integration - 2D, 3D, video, speech and animation, all
in one hood.
- Very effective data binding
Presenter: Harsh Wardhan, Mindfire Solutions
Features of WPF
- Resolution Independence- WPF elements are independent of screen
resolution.- WPF applications are scalable.- It uses vector graphics.- Uses device independent unit (1/96 of
inch)- [Physical Unit] = [DIU] * [System DPI]
Presenter: Harsh Wardhan, Mindfire Solutions
Features of WPF
- Hardware Acceleration- Smooth graphics and better performance.- UI rendering done by GPU.- Has a software fallback for all rendering.
Presenter: Harsh Wardhan, Mindfire Solutions
Features of WPF
- Declarative programming- WPF uses XAML for creating the UI.- UI is seperated from the code.- Professional tools can be used to create XAML with stunning UI.
Presenter: Harsh Wardhan, Mindfire Solutions
Features of WPF
- Rich composition and customization- Highly customizable controls.- Skins, templates and themes can be used.
- Easy Deployment- Windows installer or Click once can be
used.- Similar to Win form application
deployment.
Presenter: Harsh Wardhan, Mindfire Solutions
Understanding WPF architecture
Presenter: Harsh Wardhan, Mindfire Solutions
What is XAML?
- Extensible Application Markup Language.- A declarative programming language.- Integrates graphics designing with
development process.- A very concise way to represent UI.- It enables seperation of UI from code.
Presenter: Harsh Wardhan, Mindfire Solutions
Where is XAML used today?
Presenter: Harsh Wardhan, Mindfire Solutions
When to use WPF?
- Rich UI applications.- Desktop applications supporting Win 7 & 8.- Touch based applications.
Presenter: Harsh Wardhan, Mindfire Solutions
Question and Answer
Presenter: Harsh Wardhan, Mindfire Solutions
Thank you