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

Intro Windows Presentation Foundation

on

  • 971 views

 

Statistics

Views

Total Views
971
Views on SlideShare
969
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 Intro Windows Presentation Foundation Presentation Transcript

    • 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