Introduced
Silverlight 4.0 Other:
* Print-new support for printing in Silverlight 4.0
* Dynamic Binding-NEW C # 4.0 features and their applications
* Enhanced navigation system
* Assorted
Online Demo
Http://www.cnblogs.com/webabcd/archive/2010/08/09/1795417.html
Example
1. Demonstrate how to do print operations in Silverlight 4.0 and how to print multiple pages
Print.xaml
Code
<navigation:page x:class= "Silverlight40.Other.Print"
Xmlns= "Http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x= "Http://schemas.microsoft.com/winfx/2006/xaml"
Xmlns:d= "http://schemas.microsoft.com/expression/blend/2008"
Xmlns:mc= "http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:navigation= "Clr-namespace:system.windows.controls;assembly=system.windows.controls.navigation"
title= "Print Page" >
<grid x:name= "LayoutRoot" >
<stackpanel horizontalalignment= "Left" >
<textblock name= "Lblmsg"/>
<button name= "Btnprint" content= "Print Pictures" click= "Btnprint_click"/>
<canvas name= "Canvas" >
<image name= "Image" width= "height=" 4000 source= "/resource/logo.jpg" stretch= "Fill"/>
</Canvas>
</StackPanel>
</Grid>
</navigation:Page>