From Windows Presentation Foundation To Silverlight

Uploaded on

Topic: From Windows Presentation Foundation To Silverlight …

Topic: From Windows Presentation Foundation To Silverlight

Date: 21th May 2010

A brief introduction of SL for WPF Developers

This Presentation assume that you have at least 6 months experience with WPF

Feel free to pass comments.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads


Total Views
On Slideshare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide


  • 1. From Windows Presentation Foundation To Silverlight A brief introduction of SL for WPF Developers By: Shahzad Sarwar This Presentation assume that you have at least 6 months experience with WPF
  • 2. Basics of Sliverlight
    • Next generation of Microsoft .NET-based media experiences and rich interactive applications (RIAs) for the Web.
    • Cross-platform and cross-browser plug-in
    • Subset of the .NET Framework and Windows Presentation Foundation (WPF).
    • Silverlight was originally called Windows Presentation Foundation Everywhere (WPF/E).
  • 3. Supported Platforms Limited version of Silverlight (called "Moonlight") that supports Linux
  • 4. ASP .Net Vs Sliverlight
  • 5. History
    • Microsoft introduced ASP.NET AJAX to extend the client scripting capabilities and improve performance.
    • Silverlight 1and 2
  • 6. What New in SL 3
    • Read details here:
  • 7. Differences
    • Layout Controls
      • Canvas Control (Same as WPF)
      • StackPanel Control (Same as WPF)
      • Grid Control (Same as WPF)
    • User Interface Controls
      • Border Control (Same as WPF)
      • Button Control (Same as WPF)
      • Calendar Control (Same as WPF)
      • Checkbox Control (Same as WPF)
      • DatePicker Control (Same as WPF)
      • HyperlinkButton Control (Same as WPF)
  • 8. Differences
      • Image Control (Same as WPF)
      • RadioButton Control (Same as WPF)
      • ScrollViewer Control (Same as WPF)
      • Slider Control (Same as WPF)
      • TextBlock Control (Same as WPF)
      • Textbox Control (Same as WPF)
    • Designing User Interfaces
      • Styles (Same as WPF)
      • Resources (Same as WPF, But does not support dynamic resources. )
  • 9. Differences
    • Screen Coordinate System and Measurements
      • WPF by default is based on Device Independent Pixel (DIP) units. Silverlight always based on pixel units.
      • WPF measurement properties specified in XAML can include a unit measure string suffix that changes the interpretation of the preceding numeric value. Silverlight measurements are always pixel units. ( Height="2cm" )
      • WPF has a theoretically unbounded coordinate system. Silverlight has a bounded coordinate system.
  • 10. Differences
    • There is no Flow Document support in Silverlight. In WPF Yes.
    • Silverlight does not support dynamic resources.
    • Supported in WPF but not in Silverlight:
      • TileMode property for TileBrush objects.
      • ValueConversion attribute.
      • ITyped list, InstanceFactory, or BindingList(T).
      • Electronic Documentation Management (EDM).
      • MarkupExtension base class.
  • 11. Differences
    • Silverlight does not provide any of the following:
      • Datasets.
      • ICustomTypeDescriptor, IListSource, or IBindingList.
      • Binding directly to XML data or XPath binding. (The recommended alternative is to use the System.Xml.Linq API for XML business objects.)
      • BindingMode.OneWayToSource binding.
      • Discrete notification for source and target updates with dedicated NotifyOnSourceUpdated or NotifyOnTargetUpdated properties (and related events) on a binding.
      • Bindable Run .
  • 12. Differences
    • 3-D drawing support in Silverlight is limited.
    • In WPF, all visual elements derive from the Visual class, which does not exist in Silverlight. Limited concept of visual and logical tree.
    • Silverlight does not include Freezable objects in its object model.
    • Silverlight introduces the Deep Zoom feature, which allows zooming in and out of high-resolution images or collections of images. (Not in WPF)
  • 13. Differences
    • WPF supports all the fonts installed in the Windows operating system. Silverlight, however, natively supports only a handful of fonts. Additional fonts must be embedded within a Silverlight application in order to use them, or dynamically downloaded as needed
    • WPF supports all three types of routed events, while Silverlight only supports direct and bubbling events.
    • Additionally, WPF supports the creation of custom routed events via the EventManager helper class. Silverlight currently does not support custom routed events.
  • 14. References:
    • Must read following 2 References:
    • http:// /
    • And be ready for Siverlight 3 Development in PCMS
  • 15.
    • Silverlight version 4 is already release, let explore SL 4 in next presentation
    • Keep visiting