All-In-One Silverlight Code Samples

Introduction

Silverlight is a powerful development platform for creating engaging, interactive applications for many screens across the Web, desktop, and mobile devices. The All-In-One Silverlight code samples demonstrate the typical programming topics about Silverlight. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration felt by developers when they are developing Silverlight projects.

 

Visual Studio 2008 Code Samples

Sample Description Download ReadMe
CSSL3Animation Animation in SL3 (C#) Download ReadMe.txt
CSSL3CustomControl Custom control in SL3 (C#) Download ReadMe.txt
CSSL3DataBinding Data binding in SL3 (C#) Download ReadMe.txt
CSSL3DeepZoom Deep zoom in SL3 (C#) Download ReadMe.txt
CSSL3FullScreen Full screen in SL3 (C#) Download ReadMe.txt
CSSL3HTMLBridge Interaction between HTML and managed code (C#) Download ReadMe.txt
CSSL3Input Mouse and keyboard inputs in SL3 (C#) Download ReadMe.txt
CSSL3IsolatedStorage Isolated storage in silverlight (C#) Download ReadMe.txt
CSSL3LocalMessage Communication between local Silverlight-based applications (C#) Download ReadMe.txt
CSSL3MediaElement Silverlight3 MediaElement (C#) Download ReadMe.txt
CSSL3OOB Out-of-browser Silverlight3 application (C#) Download ReadMe.txt
CSSL3PixelShader Pixel shader in SL3 (C#) Download ReadMe.txt
CSSL3PlaneProjection Plane projection in SL3 (C#) Download ReadMe.txt
CSSL3SocketClient Silverlight 3 socket client (C#) Download ReadMe.txt
CSSL3SocketServer Socket server for Silverlight 3 (C#) Download ReadMe.txt
CSSL3Text Work with text in SL3 (C#) Download ReadMe.txt
CSSL3WriteableBitmap Writeable bitmap in SL3 (C#) Download ReadMe.txt
VBSL3Animation Animation in SL3 (VB) Download ReadMe.txt
VBSL3CustomControl Custom control in SL3 (VB) Download ReadMe.txt
VBSL3DeepZoom Deep zoom in SL3 (VB) Download ReadMe.txt
VBSL3FullScreen Full screen in SL3 (VB) Download ReadMe.txt
VBSL3HTMLBridge Interaction between HTML and managed code (VB) Download ReadMe.txt
VBSL3Input Mouse and keyboard inputs in SL3 (VB) Download ReadMe.txt
VBSL3IsolatedStorage Isolated storage in silverlight (VB) Download ReadMe.txt
VBSL3LocalMessage Communication between local Silverlight-based applications (VB) Download ReadMe.txt
VBSL3MediaElement Silverlight3 MediaElement (VB) Download ReadMe.txt
VBSL3OOB Out-of-browser Silverlight3 application (VB) Download ReadMe.txt
VBSL3PixelShader Pixel shader in SL3 (VB) Download ReadMe.txt
VBSL3PlaneProjection Plane projection in SL3 (VB) Download ReadMe.txt
VBSL3SocketClient Silverlight 3 socket client (VB) Download ReadMe.txt
VBSL3SocketServer Socket server for Silverlight 3 (VB) Download ReadMe.txt
VBSL3Text Work with text in SL3 (VB) Download ReadMe.txt
VBSL3WriteableBitmap Writeable bitmap in SL3 (VB) Download ReadMe.txt
XAMLSL3SplashScreen Splash screen in SL3 (XAML) Download ReadMe.txt
XAMLSL3StyleControlTemplate Style and control template in SL3 Download ReadMe.txt
XAMLSL3Text Work with text in SL3 (Xaml) Download ReadMe.txt

 

Visual Studio 2010 Code Samples

Sample Description Download ReadMe
CSSL4COMInterop Silverlight 4 interoperate with COM (C#) Download ReadMe.txt
CSSL4DataFormCancelButton Show Cancel button in Silverlight DataForm (C#) Download ReadMe.txt
CSSL4DataGridGroupHeaderStyle Define group header style in Silverlight DataGrid (C#) Download ReadMe.txt
CSSL4MEF Using MEF in Silverlight (C#) Download ReadMe.txt
CSSL4WCFNetTcp Silverlight 4 netTcp transport binding element (C#) Download ReadMe.txt
VBSL4COMInterop Silverlight 4 interoperate with COM (VB) Download ReadMe.txt
VBSL4DataFormCancelButton Show Cancel button in Silverlight DataForm (VB) Download ReadMe.txt
VBSL4DataGridGroupHeaderStyle Define group header style in Silverlight DataGrid (VB) Download ReadMe.txt
VBSL4WCFNetTcp Silverlight 4 netTcp transport binding element (VB) Download ReadMe.txt

 

 

Download all code samples: http://1code.codeplex.com/releases

 

Submit your request of Silverlight code samples (Guidance)

Last edited Jan 23, 2011 at 11:24 AM by Jialiang, version 7

Comments

ksnavinkumar Apr 6, 2011 at 6:41 AM 
Hi all i learned many thing with this ALL IN ONE CODE SAMPLE example. and i need more help for my Silverlight 4 project hope Silverlight 5 beta is going to release by this year in the first half hope i except more system access in SL5

Thanks
ksnavinkumar@live.com