SlideShare a Scribd company logo
Windows Presentation
Foundation (WPF) and
Infragistics
Sagar Chopra
Introduction
 Is a framework which is used for developing windows application
 Is introduced in .NET 3.0
 Uses XAML as designing language
 Compatible with classic Win Forms
Benefits
 Superior Data Binding
 Support for MVVM
 Animations through Storyboarding
 3D Support
 Better Performance
 Cleaner usage of Controls
Architecture
XAML
 Stands for Extensible Application Markup Language
 Is a simple and declarative language based on XML
 Provides an easy way to create , initialize and set properties of objects with
hierarchical relations
 Used for designing GUI’s
 XAML is a valid XML file but vice - versa may or may not be true.
XAML Syntax
Elements Tree
 Is used to order elements and components in a tree structure
 WPF has a comprehensive tree structure in the form of objects
 These tree structure helps you to easily create and identify the relationships
between the UI elements
 Types:
 Logical Tree Structure – Represents the structure of UI elements in XAML.
Tells about dependency properties , static and dynamic resources.
 Visual Tree Structure – Signifies all the UI elements rendered to the output screen.
Routed events mostly travel along the visual tree.
Logical Tree Structure
Visual Tree Structure
Layouts
 Stack Panel
 Wrap Panel
 Canvas
 Dock Panel
 Grid
Dependency Properties
 Is a specific type of property which extends the CLR property
 Class which inherits dependency property must be inherited from dependency
object class
 Many of the UI controls class are derived from dependency object class
 We can also create custom dependency properties
Routed Events
 Is a type of event that can invoke handlers on multiple listeners on a tree
 Is basically a CLR event supported by an instance of Routed event class
 It is registered with WPF event system
 Types :
 Direct event – It is the default one .for e.g. : Button click
 Bubbling event – Begins with element where event is originated
 Tunneling event – Invoke the event handlers on the element tree root
Data Binding
 Is a mechanism that provides a simple and easy way to display and interact
with data
 Allow the flow of data between UI elements and data objects on user
interface
 When a binding is established and if the data or business model changes, then
it reflects the updates directly to the UI elements
 Types :
Resources
 Is used when a particular data is to be reused
 Is the ability to store data locally for controls or for a current window or
globally for the entire application
 Defining an object as a resource allow us to access it from another window
 Can be declared as window resource, Application resource or control resource
 A key is required to reference the resource
 Types:
 Static Resource
 Dynamic Resource
Templates
 Is used to customize the appearance of controls
 Types:
 Control Templates – Allow us to specify the visual structure of the control
 Data Templates – Responsible for visualization of data
Styles
 Is a collection of property values that can be applied to elements
 Is used for formatting the controls
 Can be reused
 Similar to CSS in ASP. Net
 Can be Inherited
Triggers
 Are response of some action
 Applied as a part of styles
 Helpful in dynamically changing the appearance of controls, animations etc.
 Internally uses the concepts of dependency properties
 Types :
 Property Triggers – Works on Dependency properties
 Data Triggers – Works on Non Dependency properties
 Event Triggers – Used to trigger animations
User Controls
 Is a reusable part of window
 Will be hosted on main window
 Similar to normal window
Dispatcher
 Responsible for handling multi threading
 Implementing threading without dispatcher causes multithreading exception
2D and 3D Graphics
 Support for both drawing and shape objects
 E.g.:
 Line
 Ellipse
 Rectangle
 Polygon
Infragistics
 Infragistics is a global software company that publishes user interface (UI) development tools
and components for a range of developer applications, across all platforms. The company is
also a provider of developer support, testing tools, and UI and User Experience (UX) training
and consulting services.
 Their products enable developers to create UIs that are the foundation for developing
applications with data visualization in line of business applications for platforms that include
—Windows Forms, Windows Presentation Foundation (WPF), ASP.NET and Silverlight as well
as jQuery/HTML5, and mobile controls for the Windows Phone, iOS (iPhone and iPad) and
Android.
 Examples :
 XamRibbon
 XamRichTextEditor
 Data grids and Filters
MVVM
To Be Continued…….
Questions ??
Thank You

More Related Content

Similar to Windows presentation foundation (wpf) and infragistics (20)

PPT
Presentation wpf
danishrafiq
 
PPTX
Introduction to XAML and its features
Abhishek Sur
 
PPTX
Chpater1
Engleang Sam
 
PDF
Complete WPF Overview Tutorial with Example - iFour Technolab
iFour Technolab Pvt. Ltd.
 
PPTX
The Magic of WPF & MVVM
Abhishek Sur
 
PPT
Introduction to XAML and WPF
Doncho Minkov
 
PPT
A Tour of Windows Presentation Foundation (WPF)
ukdpe
 
PDF
WPF Intro
Mustata Bogdan
 
PPT
MSDN Unleashed: WPF Demystified
Dave Bost
 
PPTX
Building Windows Presentation Foundation (WPF) Application
ssusere19c741
 
PPTX
Building Windows Presentation Foundation (WPF) Application
ssusere19c741
 
PPTX
Windows phone and azure
★ Dovydas Navickas
 
PPT
WPF Concepts
Doncho Minkov
 
PPT
Wpf Under The Hood Engines
Tamir Khason
 
PPT
Introduction To Wpf Engines
Tamir Khason
 
PPT
2 Day - WPF Training by Adil Mughal
Adil Mughal
 
PPTX
Wpf-Xaml And Layout Basics
Robin Aggarwal
 
PPTX
WPF - An introduction
Sharada Gururaj
 
PPSX
Introduction to WPF
Munish Arora
 
PPTX
Windows Presentation Foundation & XAML
Alex Sooraj
 
Presentation wpf
danishrafiq
 
Introduction to XAML and its features
Abhishek Sur
 
Chpater1
Engleang Sam
 
Complete WPF Overview Tutorial with Example - iFour Technolab
iFour Technolab Pvt. Ltd.
 
The Magic of WPF & MVVM
Abhishek Sur
 
Introduction to XAML and WPF
Doncho Minkov
 
A Tour of Windows Presentation Foundation (WPF)
ukdpe
 
WPF Intro
Mustata Bogdan
 
MSDN Unleashed: WPF Demystified
Dave Bost
 
Building Windows Presentation Foundation (WPF) Application
ssusere19c741
 
Building Windows Presentation Foundation (WPF) Application
ssusere19c741
 
Windows phone and azure
★ Dovydas Navickas
 
WPF Concepts
Doncho Minkov
 
Wpf Under The Hood Engines
Tamir Khason
 
Introduction To Wpf Engines
Tamir Khason
 
2 Day - WPF Training by Adil Mughal
Adil Mughal
 
Wpf-Xaml And Layout Basics
Robin Aggarwal
 
WPF - An introduction
Sharada Gururaj
 
Introduction to WPF
Munish Arora
 
Windows Presentation Foundation & XAML
Alex Sooraj
 

Recently uploaded (20)

PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Python basic programing language for automation
DanialHabibi2
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Python basic programing language for automation
DanialHabibi2
 
July Patch Tuesday
Ivanti
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Ad

Windows presentation foundation (wpf) and infragistics

  • 1. Windows Presentation Foundation (WPF) and Infragistics Sagar Chopra
  • 2. Introduction  Is a framework which is used for developing windows application  Is introduced in .NET 3.0  Uses XAML as designing language  Compatible with classic Win Forms
  • 3. Benefits  Superior Data Binding  Support for MVVM  Animations through Storyboarding  3D Support  Better Performance  Cleaner usage of Controls
  • 5. XAML  Stands for Extensible Application Markup Language  Is a simple and declarative language based on XML  Provides an easy way to create , initialize and set properties of objects with hierarchical relations  Used for designing GUI’s  XAML is a valid XML file but vice - versa may or may not be true.
  • 7. Elements Tree  Is used to order elements and components in a tree structure  WPF has a comprehensive tree structure in the form of objects  These tree structure helps you to easily create and identify the relationships between the UI elements  Types:  Logical Tree Structure – Represents the structure of UI elements in XAML. Tells about dependency properties , static and dynamic resources.  Visual Tree Structure – Signifies all the UI elements rendered to the output screen. Routed events mostly travel along the visual tree.
  • 10. Layouts  Stack Panel  Wrap Panel  Canvas  Dock Panel  Grid
  • 11. Dependency Properties  Is a specific type of property which extends the CLR property  Class which inherits dependency property must be inherited from dependency object class  Many of the UI controls class are derived from dependency object class  We can also create custom dependency properties
  • 12. Routed Events  Is a type of event that can invoke handlers on multiple listeners on a tree  Is basically a CLR event supported by an instance of Routed event class  It is registered with WPF event system  Types :  Direct event – It is the default one .for e.g. : Button click  Bubbling event – Begins with element where event is originated  Tunneling event – Invoke the event handlers on the element tree root
  • 13. Data Binding  Is a mechanism that provides a simple and easy way to display and interact with data  Allow the flow of data between UI elements and data objects on user interface  When a binding is established and if the data or business model changes, then it reflects the updates directly to the UI elements  Types :
  • 14. Resources  Is used when a particular data is to be reused  Is the ability to store data locally for controls or for a current window or globally for the entire application  Defining an object as a resource allow us to access it from another window  Can be declared as window resource, Application resource or control resource  A key is required to reference the resource  Types:  Static Resource  Dynamic Resource
  • 15. Templates  Is used to customize the appearance of controls  Types:  Control Templates – Allow us to specify the visual structure of the control  Data Templates – Responsible for visualization of data
  • 16. Styles  Is a collection of property values that can be applied to elements  Is used for formatting the controls  Can be reused  Similar to CSS in ASP. Net  Can be Inherited
  • 17. Triggers  Are response of some action  Applied as a part of styles  Helpful in dynamically changing the appearance of controls, animations etc.  Internally uses the concepts of dependency properties  Types :  Property Triggers – Works on Dependency properties  Data Triggers – Works on Non Dependency properties  Event Triggers – Used to trigger animations
  • 18. User Controls  Is a reusable part of window  Will be hosted on main window  Similar to normal window
  • 19. Dispatcher  Responsible for handling multi threading  Implementing threading without dispatcher causes multithreading exception
  • 20. 2D and 3D Graphics  Support for both drawing and shape objects  E.g.:  Line  Ellipse  Rectangle  Polygon
  • 21. Infragistics  Infragistics is a global software company that publishes user interface (UI) development tools and components for a range of developer applications, across all platforms. The company is also a provider of developer support, testing tools, and UI and User Experience (UX) training and consulting services.  Their products enable developers to create UIs that are the foundation for developing applications with data visualization in line of business applications for platforms that include —Windows Forms, Windows Presentation Foundation (WPF), ASP.NET and Silverlight as well as jQuery/HTML5, and mobile controls for the Windows Phone, iOS (iPhone and iPad) and Android.  Examples :  XamRibbon  XamRichTextEditor  Data grids and Filters