15
Introducing WPF and XAML Presenter: Harsh Wardhan, Mindfire Solutions Date: 16/09/2013

Introducing WPFand XAML

Embed Size (px)

DESCRIPTION

This seminar would introduce one to WPF and the required information to start developing WPF applications. Also discussions about XAML and related concepts would be done as well. The Agenda for the session includes - - Introducing WPF. - Understanding WPF architecture. - Important features of WPF. - Types of WPF application. - Introducing XAML. - Understanding when to use WPF.

Citation preview

Page 1: Introducing WPFand XAML

Introducing WPF and XAML

Presenter: Harsh Wardhan, Mindfire SolutionsDate: 16/09/2013

Page 2: Introducing WPFand XAML

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?

Page 3: Introducing WPFand XAML

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.

Page 4: Introducing WPFand XAML

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.

Page 5: Introducing WPFand XAML

Presenter: Harsh Wardhan, Mindfire Solutions

Features of WPF

- Broad Integration - 2D, 3D, video, speech and animation, all

in one hood.

- Very effective data binding

Page 6: Introducing WPFand XAML

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]

Page 7: Introducing WPFand XAML

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.

Page 8: Introducing WPFand XAML

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.

Page 9: Introducing WPFand XAML

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.

Page 10: Introducing WPFand XAML

Presenter: Harsh Wardhan, Mindfire Solutions

Understanding WPF architecture

Page 11: Introducing WPFand XAML

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.

Page 12: Introducing WPFand XAML

Presenter: Harsh Wardhan, Mindfire Solutions

Where is XAML used today?

Page 13: Introducing WPFand XAML

Presenter: Harsh Wardhan, Mindfire Solutions

When to use WPF?

- Rich UI applications.- Desktop applications supporting Win 7 & 8.- Touch based applications.

Page 14: Introducing WPFand XAML

Presenter: Harsh Wardhan, Mindfire Solutions

Question and Answer

Page 15: Introducing WPFand XAML

Presenter: Harsh Wardhan, Mindfire Solutions

Thank you