Intro Windows Presentation Foundation
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Intro Windows Presentation Foundation

on

  • 1,009 views

 

Statistics

Views

Total Views
1,009
Views on SlideShare
1,007
Embed Views
2

Actions

Likes
0
Downloads
35
Comments
0

2 Embeds 2

http://www.slideshare.net 1
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Intro Windows Presentation Foundation Presentation Transcript

  • 1. Windows Presentation Foundation
    Mohammad Najeeb
  • 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…
  • 12. WPF – Binding
    Demo
  • 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