• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Introduction to Microsoft Silverlight
 

Introduction to Microsoft Silverlight

on

  • 1,486 views

 

Statistics

Views

Total Views
1,486
Views on SlideShare
1,340
Embed Views
146

Actions

Likes
0
Downloads
36
Comments
0

2 Embeds 146

http://theshravan.net 145
http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

CC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike License

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

    Introduction to Microsoft Silverlight Introduction to Microsoft Silverlight Presentation Transcript

    • Shravan Kumar
    • Walk Away Knowing
      Introduction To Silverlight
      XAML Basics
      WPF vs Silverlight
    • What is Silverlight?
      Silverlight is
      a cross-browser,
      cross-platform plug-in
    • Silverlight is a Cross-Browser, Cross-Platform Plug-in
      Engaging, Interactive User Experiences
    • Silverlight Background
      Silverlight is the cross platform version of the
      Windows Presentation Foundation (WPF) used in Vista and
      was formerly code named "WPF/Everywhere" (WPF/E).
    • A Brief History of Silverlight
      MIX 07
      Sep 07
      MIX 08
      Oct 08
      Silverlight 1.0 Beta
      Silverlight 2 Beta
      Silverlight 2
      Silverlight 1.0
      MIX 09
      Jul 09
      PDC 09
      Spring 10
      Silverlight 3 Beta
      Silverlight 4 Beta
      Silverlight 4
      Silverlight 3
    • THE FUN STUFF
      Show Me Some Code!
    • M
      X
      A
      L
      eXtensible
      Application
      Markup
      Language
      XAML
      XML
      Declarative Markup
      <Grid>
      <TextBlock FontSize="48" Text="Hello world" />
      </Grid>
    • Code
      XAML
      XAML maps to code
      Anything in XAML can be done in code
      Code
    • Vector-Based
      Importable from Photoshop or Illustrator
      Shapes
    • Determines how objects are painted and outlined
      Solid, Gradient, Image, Media
      Brushes
    • Encapsulates functionality
      Give it a x:Name
      Same properties as in XAML
      <Button x:Name="MyButton"
      Content="Center"
      Width="150"
      Height="50" />
      Controls
    • Can be created in XAML & Code
      Tools create handler for you
      publicvoid myButton_Click(object sender, RoutedEventArgs e)
      {
      // todo: add code
      }
      Events
    • Apply consistent formatting
      Per-page or per-application
      <StyleTargetType="TextBlock"
      x:Key="SubHeadingText">
      <Setter Property="FontSize"
      Value="42" />
      <Setter Property="Foreground"
      Value="Blue" />
      </Style>
      Styling
    • Layout
      Flexible Layout system
      Canvas | Fixed-position
      StackPanel | “Stacks” dynamically
      Grid | Rows & columns, very flexible
    • Transforms
      Alters any element
      Transforms
      Projections
      Controls
      Text
      Media
      Rotate
      Scale
      Skew
      Translate
      Matrix
      Plane
      Matrix
      Apply 3D to a 2D element
    • Animations
      Animate a property value over time
      Basics
      Storyboard
      Animation
      Keyframe
      Expression Blend is the best tool for designing animations
    • Databinding
      Powerful Concept
      Two types
      Property binding
      List binding
      Based on change notification
    • No Questions
    • Thanks