SlideShare a Scribd company logo
GANDHINAGAR INSTITUTE OF TECHNOLOGY
Computer Engineering Department
Dot NET (2160711)
Introduction to WPF
Prepared By:
Nakrani Dhruvinkumar Janakbhai
(160120107066)
Guided By:
Prof. Ketan Pandya
Contents
▪ Introduction
▪ Features of WPF
▪ Architecture of WPF
▪ Managed layer
▪ Unmanaged layer
▪ Core API layer
▪ References
Introduction to WPF
▪ Next-generation presentation system for building Windows client applications with
visually stunning user experiences
▪ With WPF, we can create a wide range of both standalone and browser-hosted
applications
▪ Resolution-independent
▪ Vector-based rendering engine
▪ Application-development features that includes XAML, controls, data binding, layout,
2-D and 3-D graphics, animation, styles, documents, media, text
Features of WPF
▪ Resolution Independence
• All measures are logical units not pixels. A logical unit is a 1/96 of an inch
• Each control will look same for each resolution
• Separation of appearance and behaviors
• WPF separates the appearance of an UI from its behavior
• The appearance specified by XAML and behavior specified by language like C#
• Built-In support for graphics and animation
• Applications run within DirectX environment
• Separate set of classes that are specifically deal with animation effects and graphics
▪ Supports for Audio and Video
• Support for playing any audio or video file supported by Windows Media Player
• Gives the tools to integrate video content into your rich UI such as placing a video
window on a spinning 3-D cube
▪ Highly customizable
• Supports separation of appearance and behaviors
• In WPF, you can store styles, controls, animations, and even any object as a resource
and you may associate that resource to the controls
• Each resource is declared once when the form loads itself
Architecture Of WPF
▪ WPF is actually a set of assemblies that build up the entire framework.
▪ These assemblies can be categorized as:
• Managed Layer
• Unmanaged Layer
• Core API
1) Managed Layer
▪ Managed layer has two main components – Presentation Framework and Presentation
Core
▪ Presentation Framework provides the required functionalities that we need to build the
WPF applications such as controls, data bindings, styling, shapes, media, documents,
annotations, animation and more
▪ PresentationFamework.dll is responsible for this purpose
▪ Presentation Core acts as a managed wrapper around MILCore and provides public
interface for MIL (Media Integration Layer)
▪ Presentation Core is the home for WPF Visual System and provides classes for creating
application visual tree
2) Unmanaged Layer
▪ This layer is also called MilCore (Media Integration Library Core)
▪ MilCore is written in unmanaged code in order to enable tight integration with DirectX
▪ DirectX engine is underlying technology used in WPF to display all graphics, allowing for
efficient hardware and software rendering
▪ MIL has composition system that receives rendering instructions from visual system and
translates into data, that can be understood by DirectX to render user interface
3) Core API Layer
▪ This layer has OS core components like Kernel, User32, GDI, Device Drivers, Graphic
cards etc
▪ These components are used by the application to access low level APIs
▪ User32 manages memory and process separation
References
• www.tutorialspoint.com/asp.net/
• Pro ASP.NET MVC 5 by Adam Freeman
Thank
You

More Related Content

Similar to Introduction to wpf

ASP.Net Technologies Part-1
ASP.Net Technologies Part-1ASP.Net Technologies Part-1
ASP.Net Technologies Part-1
Vasudev Sharma
 
480 483
480 483480 483
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.net
suraj pandey
 
Visual Basic User Interface-III
Visual Basic User Interface-IIIVisual Basic User Interface-III
Visual Basic User Interface-III
Sharbani Bhattacharya
 
iphone application development
iphone application developmentiphone application development
iphone application development
arpitnot4u
 
Dot Net Framework An Overview
Dot Net Framework   An OverviewDot Net Framework   An Overview
Dot Net Framework An Overview
MicrosoftFeed
 
Foundry Management System Desktop Application
Foundry Management System Desktop Application Foundry Management System Desktop Application
Foundry Management System Desktop Application
Dharmendra Sid
 
WPF
WPFWPF
Introduction to .net
Introduction to .netIntroduction to .net
Introduction to .net
jayc8586
 
Introduction to WPF
Introduction to WPFIntroduction to WPF
Introduction to WPF
Munish Arora
 
Introduction to Mobile Operating System.pptx
Introduction to Mobile Operating System.pptxIntroduction to Mobile Operating System.pptx
Introduction to Mobile Operating System.pptx
aparna14patil
 
YANG (哪)
YANG (哪)YANG (哪)
YANG (哪)
Amey Borkar
 
Vb.net session 01
Vb.net session 01Vb.net session 01
Vb.net session 01
Niit Care
 
History of silverlight versions and its features
History of silverlight versions and its featuresHistory of silverlight versions and its features
History of silverlight versions and its features
Diya Singh
 
Net overview
Net overviewNet overview
Net overview
Paarthi Kannadasan
 
Android Architecture.pptx
Android Architecture.pptxAndroid Architecture.pptx
Android Architecture.pptx
priya Nithya
 
DotNet Framework
DotNet FrameworkDotNet Framework
DotNet Framework
Wani Zahoor
 
Microsoft .Net Technology
Microsoft .Net TechnologyMicrosoft .Net Technology
Microsoft .Net Technology
vijayakumari kaliannan
 
VB IMPORTANT QUESTION
VB IMPORTANT QUESTIONVB IMPORTANT QUESTION
VB IMPORTANT QUESTION
FAREED UR RAHMAN .
 
dot net final year project in jalandhar
dot net final year project in jalandhardot net final year project in jalandhar
dot net final year project in jalandhar
deepikakaler1
 

Similar to Introduction to wpf (20)

ASP.Net Technologies Part-1
ASP.Net Technologies Part-1ASP.Net Technologies Part-1
ASP.Net Technologies Part-1
 
480 483
480 483480 483
480 483
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.net
 
Visual Basic User Interface-III
Visual Basic User Interface-IIIVisual Basic User Interface-III
Visual Basic User Interface-III
 
iphone application development
iphone application developmentiphone application development
iphone application development
 
Dot Net Framework An Overview
Dot Net Framework   An OverviewDot Net Framework   An Overview
Dot Net Framework An Overview
 
Foundry Management System Desktop Application
Foundry Management System Desktop Application Foundry Management System Desktop Application
Foundry Management System Desktop Application
 
WPF
WPFWPF
WPF
 
Introduction to .net
Introduction to .netIntroduction to .net
Introduction to .net
 
Introduction to WPF
Introduction to WPFIntroduction to WPF
Introduction to WPF
 
Introduction to Mobile Operating System.pptx
Introduction to Mobile Operating System.pptxIntroduction to Mobile Operating System.pptx
Introduction to Mobile Operating System.pptx
 
YANG (哪)
YANG (哪)YANG (哪)
YANG (哪)
 
Vb.net session 01
Vb.net session 01Vb.net session 01
Vb.net session 01
 
History of silverlight versions and its features
History of silverlight versions and its featuresHistory of silverlight versions and its features
History of silverlight versions and its features
 
Net overview
Net overviewNet overview
Net overview
 
Android Architecture.pptx
Android Architecture.pptxAndroid Architecture.pptx
Android Architecture.pptx
 
DotNet Framework
DotNet FrameworkDotNet Framework
DotNet Framework
 
Microsoft .Net Technology
Microsoft .Net TechnologyMicrosoft .Net Technology
Microsoft .Net Technology
 
VB IMPORTANT QUESTION
VB IMPORTANT QUESTIONVB IMPORTANT QUESTION
VB IMPORTANT QUESTION
 
dot net final year project in jalandhar
dot net final year project in jalandhardot net final year project in jalandhar
dot net final year project in jalandhar
 

Recently uploaded

Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
AjmalKhan50578
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
morris_worm_intro_and_source_code_analysis_.pdf
morris_worm_intro_and_source_code_analysis_.pdfmorris_worm_intro_and_source_code_analysis_.pdf
morris_worm_intro_and_source_code_analysis_.pdf
ycwu0509
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
aryanpankaj78
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
UReason
 
AI for Legal Research with applications, tools
AI for Legal Research with applications, toolsAI for Legal Research with applications, tools
AI for Legal Research with applications, tools
mahaffeycheryld
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
nedcocy
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
ElakkiaU
 
SCALING OF MOS CIRCUITS m .pptx
SCALING OF MOS CIRCUITS m                 .pptxSCALING OF MOS CIRCUITS m                 .pptx
SCALING OF MOS CIRCUITS m .pptx
harshapolam10
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
Paris Salesforce Developer Group
 
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
MadhavJungKarki
 
TIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptxTIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptx
CVCSOfficial
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
upoux
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
bjmsejournal
 
Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...
Prakhyath Rai
 

Recently uploaded (20)

Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
morris_worm_intro_and_source_code_analysis_.pdf
morris_worm_intro_and_source_code_analysis_.pdfmorris_worm_intro_and_source_code_analysis_.pdf
morris_worm_intro_and_source_code_analysis_.pdf
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
 
AI for Legal Research with applications, tools
AI for Legal Research with applications, toolsAI for Legal Research with applications, tools
AI for Legal Research with applications, tools
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
 
SCALING OF MOS CIRCUITS m .pptx
SCALING OF MOS CIRCUITS m                 .pptxSCALING OF MOS CIRCUITS m                 .pptx
SCALING OF MOS CIRCUITS m .pptx
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
 
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
 
TIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptxTIME TABLE MANAGEMENT SYSTEM testing.pptx
TIME TABLE MANAGEMENT SYSTEM testing.pptx
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
 
Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...
 

Introduction to wpf

  • 1. GANDHINAGAR INSTITUTE OF TECHNOLOGY Computer Engineering Department Dot NET (2160711) Introduction to WPF Prepared By: Nakrani Dhruvinkumar Janakbhai (160120107066) Guided By: Prof. Ketan Pandya
  • 2. Contents ▪ Introduction ▪ Features of WPF ▪ Architecture of WPF ▪ Managed layer ▪ Unmanaged layer ▪ Core API layer ▪ References
  • 3. Introduction to WPF ▪ Next-generation presentation system for building Windows client applications with visually stunning user experiences ▪ With WPF, we can create a wide range of both standalone and browser-hosted applications ▪ Resolution-independent ▪ Vector-based rendering engine ▪ Application-development features that includes XAML, controls, data binding, layout, 2-D and 3-D graphics, animation, styles, documents, media, text
  • 4. Features of WPF ▪ Resolution Independence • All measures are logical units not pixels. A logical unit is a 1/96 of an inch • Each control will look same for each resolution • Separation of appearance and behaviors • WPF separates the appearance of an UI from its behavior • The appearance specified by XAML and behavior specified by language like C# • Built-In support for graphics and animation • Applications run within DirectX environment • Separate set of classes that are specifically deal with animation effects and graphics
  • 5. ▪ Supports for Audio and Video • Support for playing any audio or video file supported by Windows Media Player • Gives the tools to integrate video content into your rich UI such as placing a video window on a spinning 3-D cube ▪ Highly customizable • Supports separation of appearance and behaviors • In WPF, you can store styles, controls, animations, and even any object as a resource and you may associate that resource to the controls • Each resource is declared once when the form loads itself
  • 6. Architecture Of WPF ▪ WPF is actually a set of assemblies that build up the entire framework. ▪ These assemblies can be categorized as: • Managed Layer • Unmanaged Layer • Core API
  • 7.
  • 8. 1) Managed Layer ▪ Managed layer has two main components – Presentation Framework and Presentation Core ▪ Presentation Framework provides the required functionalities that we need to build the WPF applications such as controls, data bindings, styling, shapes, media, documents, annotations, animation and more ▪ PresentationFamework.dll is responsible for this purpose ▪ Presentation Core acts as a managed wrapper around MILCore and provides public interface for MIL (Media Integration Layer) ▪ Presentation Core is the home for WPF Visual System and provides classes for creating application visual tree
  • 9. 2) Unmanaged Layer ▪ This layer is also called MilCore (Media Integration Library Core) ▪ MilCore is written in unmanaged code in order to enable tight integration with DirectX ▪ DirectX engine is underlying technology used in WPF to display all graphics, allowing for efficient hardware and software rendering ▪ MIL has composition system that receives rendering instructions from visual system and translates into data, that can be understood by DirectX to render user interface
  • 10. 3) Core API Layer ▪ This layer has OS core components like Kernel, User32, GDI, Device Drivers, Graphic cards etc ▪ These components are used by the application to access low level APIs ▪ User32 manages memory and process separation