SlideShare a Scribd company logo
1 of 16
Windows Presentation Foundation Mohammad Najeeb
WPF What is WPF? XAML? WPF features + Using BLEND. WPF application types. Binding in WPF. Routed Events.
WPF WPF is a new technology which used to build Windows and Web applications with rich user experience. Initially released as part of .NET Framework 3.0 WPF built on DirectX. Interoperability: WPF works in WinFormsand vice versa.
WPF - XAML What is XAML? It is a markup language. It is an alternative means for defining UI elements and relationships with other UI elements. Button btn = new Button btn.Content = “I’m Button” grd.Children.Add(btn) <Grid> <Button>I’m Button</Button> </Grid>
WPF What is WPF? XAML? WPF features + Using BLEND. WPF application types. Binding in WPF. Routed Events.
WPF - UI Features Supports vector-based graphics. Supports 3D model rendering. Enables interactive 2D content on 3D surfaces. Styling, Animation library, Transforming and many types of Brushes.
WPF What is WPF? XAML? WPF features + Using BLEND. WPF application types. Binding in WPF. Routed Events.
WPF - Application types Apps. on trusted environment: Windows Applications. Navigation Applications. Applications work on Partial trust environment (Internet security zone) XBAP (XAML Browser Application).
WPF Demo - Application types - Using Expression Blend
WPF What is WPF? XAML? WPF features + Using BLEND. WPF application types. Binding in WPF. Routed Events.
WPF - Binding Binding with UI Elements. Binding with CLR objects Binding Modes: One way Two way One Time One way to source Update Triggers on: Lost Focus, Property Changed, etc…
WPF – Binding Demo
WPF What is WPF? XAML? WPF features + Using BLEND. WPF application types. Binding in WPF. Routed Events.
WPF - Events Events types: Direct Event. Bubbling Event. Tunneling Event. Attached Events.
WPF – Tunneling Events When user click on label PreviewMouseDown raised in Window 1 PreviewMouseDown raised in Grid 2 PreviewMouseDown raised in Label 3
WPF - Bubbling Events When user clicks on label MouseDown raised in Window 3 MouseDown raised in Grid 2 MouseDown raised in label 1

More Related Content

Viewers also liked (9)

WPF Events
WPF EventsWPF Events
WPF Events
 
Dublin Leadership Academy 2015: The Power of Series Books and Wordless Pictu...
Dublin Leadership Academy 2015:  The Power of Series Books and Wordless Pictu...Dublin Leadership Academy 2015:  The Power of Series Books and Wordless Pictu...
Dublin Leadership Academy 2015: The Power of Series Books and Wordless Pictu...
 
Blue Beauty
Blue BeautyBlue Beauty
Blue Beauty
 
Sneaks For The Streets Commercial
Sneaks For The Streets CommercialSneaks For The Streets Commercial
Sneaks For The Streets Commercial
 
English Proyect Day Presentation
English Proyect Day   PresentationEnglish Proyect Day   Presentation
English Proyect Day Presentation
 
English Proyect Day - Presentation
English Proyect Day - PresentationEnglish Proyect Day - Presentation
English Proyect Day - Presentation
 
Dublin Leadership 2012 Minilessons
Dublin Leadership 2012 MinilessonsDublin Leadership 2012 Minilessons
Dublin Leadership 2012 Minilessons
 
Notebooks
NotebooksNotebooks
Notebooks
 
Digital Writing: First 6 Weeks
Digital Writing: First 6 WeeksDigital Writing: First 6 Weeks
Digital Writing: First 6 Weeks
 

Similar to Intro Windows Presentation Foundation

Introduction to XAML and WPF
Introduction to XAML and WPFIntroduction to XAML and WPF
Introduction to XAML and WPF
Doncho Minkov
 
Dot Net Training Dot Net35
Dot Net Training Dot Net35Dot Net Training Dot Net35
Dot Net Training Dot Net35
Subodh Pushpak
 
What Is New In Wpf 3.5 Sp1
What Is New In Wpf 3.5 Sp1What Is New In Wpf 3.5 Sp1
What Is New In Wpf 3.5 Sp1
rsnarayanan
 
Wpf Under The Hood Engines
Wpf Under The Hood EnginesWpf Under The Hood Engines
Wpf Under The Hood Engines
Tamir Khason
 

Similar to Intro Windows Presentation Foundation (20)

WPF
WPFWPF
WPF
 
Windows presentation foundation
Windows presentation foundationWindows presentation foundation
Windows presentation foundation
 
Introduction to XAML and WPF
Introduction to XAML and WPFIntroduction to XAML and WPF
Introduction to XAML and WPF
 
Windows Presentation Foundation & XAML
Windows Presentation Foundation & XAMLWindows Presentation Foundation & XAML
Windows Presentation Foundation & XAML
 
Wpf 1
Wpf 1Wpf 1
Wpf 1
 
WPF & Silverlight Intro
WPF & Silverlight IntroWPF & Silverlight Intro
WPF & Silverlight Intro
 
Dot Net Training Dot Net35
Dot Net Training Dot Net35Dot Net Training Dot Net35
Dot Net Training Dot Net35
 
Windows Presentation Foundation
Windows Presentation FoundationWindows Presentation Foundation
Windows Presentation Foundation
 
Windows Phone Apps Development overview
Windows Phone Apps Development overviewWindows Phone Apps Development overview
Windows Phone Apps Development overview
 
Introduction to silver light
Introduction to silver lightIntroduction to silver light
Introduction to silver light
 
WPF
WPFWPF
WPF
 
Silverlight Training
Silverlight TrainingSilverlight Training
Silverlight Training
 
WPF - the future of GUI is near
WPF - the future of GUI is nearWPF - the future of GUI is near
WPF - the future of GUI is near
 
Windows 7 mobile
Windows 7 mobileWindows 7 mobile
Windows 7 mobile
 
Complete WPF Overview Tutorial with Example - iFour Technolab
Complete WPF Overview Tutorial with Example - iFour TechnolabComplete WPF Overview Tutorial with Example - iFour Technolab
Complete WPF Overview Tutorial with Example - iFour Technolab
 
What Is New In Wpf 3.5 Sp1
What Is New In Wpf 3.5 Sp1What Is New In Wpf 3.5 Sp1
What Is New In Wpf 3.5 Sp1
 
Silverlight vs WPF
Silverlight vs WPFSilverlight vs WPF
Silverlight vs WPF
 
Wpf Under The Hood Engines
Wpf Under The Hood EnginesWpf Under The Hood Engines
Wpf Under The Hood Engines
 
Cloud computing & .NET 4.0 overview
Cloud computing & .NET 4.0 overviewCloud computing & .NET 4.0 overview
Cloud computing & .NET 4.0 overview
 
Introduction to WPF
Introduction to WPFIntroduction to WPF
Introduction to WPF
 

Intro Windows Presentation Foundation

  • 2. WPF What is WPF? XAML? WPF features + Using BLEND. WPF application types. Binding in WPF. Routed Events.
  • 3. WPF WPF is a new technology which used to build Windows and Web applications with rich user experience. Initially released as part of .NET Framework 3.0 WPF built on DirectX. Interoperability: WPF works in WinFormsand vice versa.
  • 4. WPF - XAML What is XAML? It is a markup language. It is an alternative means for defining UI elements and relationships with other UI elements. Button btn = new Button btn.Content = “I’m Button” grd.Children.Add(btn) <Grid> <Button>I’m Button</Button> </Grid>
  • 5. WPF What is WPF? XAML? WPF features + Using BLEND. WPF application types. Binding in WPF. Routed Events.
  • 6. WPF - UI Features Supports vector-based graphics. Supports 3D model rendering. Enables interactive 2D content on 3D surfaces. Styling, Animation library, Transforming and many types of Brushes.
  • 7. WPF What is WPF? XAML? WPF features + Using BLEND. WPF application types. Binding in WPF. Routed Events.
  • 8. WPF - Application types Apps. on trusted environment: Windows Applications. Navigation Applications. Applications work on Partial trust environment (Internet security zone) XBAP (XAML Browser Application).
  • 9. WPF Demo - Application types - Using Expression Blend
  • 10. WPF What is WPF? XAML? WPF features + Using BLEND. WPF application types. Binding in WPF. Routed Events.
  • 11. WPF - Binding Binding with UI Elements. Binding with CLR objects Binding Modes: One way Two way One Time One way to source Update Triggers on: Lost Focus, Property Changed, etc…
  • 13. WPF What is WPF? XAML? WPF features + Using BLEND. WPF application types. Binding in WPF. Routed Events.
  • 14. WPF - Events Events types: Direct Event. Bubbling Event. Tunneling Event. Attached Events.
  • 15. WPF – Tunneling Events When user click on label PreviewMouseDown raised in Window 1 PreviewMouseDown raised in Grid 2 PreviewMouseDown raised in Label 3
  • 16. WPF - Bubbling Events When user clicks on label MouseDown raised in Window 3 MouseDown raised in Grid 2 MouseDown raised in label 1