Click here to Skip to main content
15,868,016 members
Everything / Silverlight

Silverlight

Silverlight

Great Reads

by Alan Beasley
Explanation and examples of Additional Templates and Generated Content of a ListBox. Covering Layout, Transitions, and Animation.
by defwebserver
How using the Silverlight DataTrigger allows you to run a process and then raise another when using View Model (MVVM)
by Ajcek84
Open source library for music engraving in desktop, mobile and web applications
by Todd Davis
How to bind an enum to radiobuttons in Silverlight/WPF

Latest Articles

by OwenDavies
How to implement a crossdomain.xml file to allow the Flash client to connect to my site
by Ajcek84
Open source library for music engraving in desktop, mobile and web applications
by webmaster442
How to format your XAML documents for effective version handling & maximum maintainability
by epicTurk
F# Quotations support for ViewModelSupport.ViewModelBase Property get\set Accessors

All Articles

Sort by Score

Silverlight 

12 Aug 2013 by Le Sourcier
This tip helps in using font icons as ImageSource.
12 Aug 2010 by #realJSOP
Get around another irrational and arbitrary omission in Silverlight
14 Apr 2010 by Nish Nishant
John, here's a simpler way to do this. This will also handle strings like "3*" which are valid grid length values in Xaml.private RowDefinition MakeRowDefinition(string height){ RowDefinition rowDef = new RowDefinition(); GridLengthConverter converter = new...
22 Feb 2011 by İlkay İlknur
Silverlight Focusing Issue
9 Jul 2012 by Christian Amado
In this tutorial, we will discuss on ProgressBar & Background worker. Follow the step-by-step tutorial to know how to use these clases.
9 Aug 2015 by Clifford Nelson
This tip provides an alternate way to combine data with text in a WPF control using a ValueConverter that could be considered easier.
27 Feb 2010 by Daniel Vaughan
Ordinarily the Application.Current.RootVisual.Dispatcher property is used to retrieve the System.Windows.Threading.Dispatcher for an application. Of course this won't work if performed before the RootVisual has been assigned. To get the Dispatcher for an application before the RootVisual has...
5 May 2010 by Peace ON
Introduction...
27 May 2010 by Andrew Rissing
A tip to overcome limitations in Blend 3 and Blend 4 RC when dealing with attached dependency properties.
6 Apr 2011 by Mahmudul Haque Azad
I found a better alternative of snoop... WPF Inspector! http://wpfinspector.codeplex.com/[^]
17 May 2011 by Omar Al Zabir
Silverlight webservice references get harcoded in ServiceReference.ClientConfig. The URLs get set to your development servers. But when you deploy live, the URLs don't match. Here's a way to dynamically change the URL of the service based on which website the Silverlight app is loaded from.
22 May 2010 by #realJSOP
Programatically set grid row/column sizes (yes, even "Auto", "*", and "X*" - thanks Nish).
12 Aug 2010 by #realJSOP
If you need to get the position the mouse was clicked, in relation to a specific UI Element, this might help
5 Jan 2011 by jerpat
How to get (almost) all your code in one place when using WCF together with Silverlight
16 Nov 2011 by Ilya Builuk
Open source project of guitar tablature viewer for Windows Phone
31 Jul 2012 by Christian Amado
A very brief article about the implementation of encryption and decryption of a string in Silverlight Business Application
1 Mar 2013 by Yasser Moradi DNP
Parse CanExecute to detect when CanExecuteChanged should be called.
17 Jun 2014 by Mahdi Ataollahi
Implementing Microsoft.AspNet.SignalR 2 and Microsoft.AspNet.SignalR.Client 2 in Silverlight
17 Jun 2014 by cjb110
A String To Brush Converter for WPF/Silverlight
12 Oct 2014 by Aldonis55
A simple Silverlight application that shows how to apply Jeff Wilcox's UniformGrid control to a bound collection.
21 May 2010 by #realJSOP
Dorothy was right - there's no place like home.
8 Jun 2010 by Herre Kuijpers
Short and efficient algorithm for pixel plotting a 2D triangle on a bitmap
5 Aug 2010 by Henry Minute
A possible alternative solution. I say possible because I have no idea if it will work in Silverlight and even if it does whether it will be any easier/faster. public Color ColorFromName(string name) { Color result = Colors.Black; Type type =...
26 Mar 2016 by Sumit Samediya
Here we will learn how to remove default background color of ListBox item on selection in Windows Universal App
26 Nov 2010 by Mike Fuchs
Introduction The following snippet provides a generic method to walk up the visual tree of Silverlight in order to find an element of a given type. It will return the first found item of said type, or null if the search ends at the visual tree root without any results.  Code // walk up the...
6 May 2010 by Narsimlu Keshagouni
The code shows how to implement currency masking (format like $21,900) in Silverlight DataGrid using the IValueConverter. User can edit the data in numbers with out entering the commas.Having knowledge in Silverlight data binding to DataGrid is enough to understand the code.Create a simple...
4 Jun 2010 by fjparisIII
Cannot use Storyboard because ScrollView.VerticalOffset property is read-only. Must use old fashioned DispatchTimer.
4 Jun 2010 by fjparisIII
Cannot use Storyboard because ScrollView.VerticalOffset property is read-only. Must use old fashioned DispatchTimer.
21 Aug 2010 by Abhinav S
Temporary XCP files are created on the local drive and are not cleared up until the user manually deletes them.
7 Jan 2011 by Paul Schwartzberg
If you have unformatted XML in a string and need to format it for visual presentation, e.g. for sending it to your UI, here's how to do it for Silverlight 4.0.
29 Jul 2011 by gsvolt
Draing a two-color line in Silverlight.
8 Sep 2011 by Ian Landicho
A simple combo box that will have predefined items but the selected value bound to a property from our View Model.
2 Oct 2011 by Gary Bilkus
How to get Silverlight 4 to display dates by default using the regional settings in the Control Panel.
15 Oct 2011 by User-Rock
Silverlight XAML parsing error
18 Nov 2011 by Glen Banta
Integrating the HSS Interlink UploadFileDialog feature with Microsoft’s application platform, LightSwitch for Visual Studio.
10 Jan 2012 by Adam David Hill
I think there might be a couple of typos in the original code. This works, though...public SolidColorBrush GetColor(string ColorCode){ return (SolidColorBrush)XamlReader.Load( "
28 Mar 2012 by fealbernaz
How to debug RIA Service Class Library ( RIA "magic" demystified )
30 Sep 2013 by N_tro_P
Simplify your MVVM Properties
29 Jul 2012 by Christian Amado
This brief tutorial pretends to demonstrate how to add custom properties inside DomainService's metadata class
6 Sep 2012 by Savalia Manoj M
How to pass Control Event to ShellView (Main Page) using Caliburn.Micro?
11 Mar 2013 by Ajit_Pudale
Tips to control printer setting without printdialog in Silverlight
13 Jun 2013 by saguptamca
Frequent error using WCF in Silverlight.
18 Oct 2013 by ASP.NET Community
Here's some particularly amazing Silverlight examples found in the blogosphere. Also, be sure to check out the Silverlight Galleries and the Learn
26 Nov 2014 by Lolo1986
This tip will help to import/export from a LightSwitch web application.
28 Oct 2017 by webmaster442
How to format your XAML documents for effective version handling & maximum maintainability
18 Nov 2009 by Anish M
In IE8, it seems that the Marquee tag isn't supported anymore. Need for a Marquee replacement got me into my first Silverlight tryout. Please note, this is done as a quick alternative to the Marquees that didn't scroll in IE8, with something non Javascript. I had to do it since I didn't find anythin
28 Mar 2010 by Prashant Trambake
The silverlight dose not need any special server requirements. Silverlight websites can be run on very simple windows servers having dotnet framework, ms sql (If website need). All you need to add MIME types to support the correct content type interpretation by the browser. Generally in IIS7,...
27 Apr 2010 by Timmy Kokke
When writing a demo for the Dutch Code-camp  I ran into issues getting back on the UI thread after calling a webservice. The call to the webservice was made from the UI thread, but the callback was made on a different thread. The System.Threading.SynchronizationContext class held the...
30 Jun 2010 by Kunal Chowdhury «IN»
Here I will show you how you can use the Text Trimming functionality in Silverlight 4.
7 Aug 2010 by defwebserver
Current masking in Silverlight Datagrid
20 Dec 2010 by Steve Maier
Digits is the one that defaults to the number keyboard.
7 Mar 2011 by #realJSOP
Extension method that checks for a properly Xaml-ized string
17 May 2011 by #realJSOP
This is how I do it (we determine the host and select the appropriate endpoint).// these are the endpoints define in the webconfig filestring LocalHostEndpointName = "LocalHost_Endpoint";string ProductionEndpointName = "Production_Endpoint";string CurrentEndpoint = "";//...
10 Jan 2013 by Pawel Gielmuda
How to set orientation to landscape mode for XNA game in mixed mode (Silverlight & XNA)
4 Feb 2012 by Lauren Lilly
It is not necessary to create a converter to bind a ComboBox to an object
27 Mar 2012 by Kortez2223
How to sent email (Yahoo! SMTP) with Silverlight 5 WCF RIA.
26 Jun 2013 by Ivan Signore
A workaround to SecurityException while getting file's full path in Silverlight
14 Aug 2013 by Tharindu Nishad Patikirikorala
The MultiLevelMultiSelectCombo is an extension of the Silverlight combo box having capabilities to display hierarchical data and enable selection of multiple items.
31 Aug 2013 by Kashif_Imran
A user control that provides fancy buttons for panning purposes in Silverlight
18 Oct 2013 by ASP.NET Community
Here are some recommended blogs and podcasts dedicated to Silverlight either completely or for the most part.BlogsList of Silverlight Community
3 Sep 2016 by epicTurk
F# Quotations support for ViewModelSupport.ViewModelBase Property get\set Accessors
28 Jan 2010 by Razan Paul (Raju)
You can take a look at http://weblogs.asp.net/razan/archive/2010/01/14/a-simple-text-marquee-control-in-silverlight.aspx
22 Mar 2010 by Nandakumar Rangaswamy
Server Requirements for Silverlight Application Deployment
18 Sep 2010 by michael_john_talbot
I needed a small footprint, highly performant binary, reflection based serializer for the project I am working on...
30 Apr 2010 by umangsain
Thanks for providing the coding, i am also searching for the same content and now i need not to search any where.bike authorized dealers
1 Jul 2011 by Ángel Manuel García Carmona
What to do if a Silverlight media player from your website isn't visible in Firefox or another web browser based on Firefox.
22 Sep 2010 by Juan Pablo G.C.
An easy answer;
28 Sep 2010 by Juan Pablo G.C.
Using this you can animate or change states of the actually visible items
24 Dec 2010 by Ashish Kaila
Illustrates how to dynamically bind to value converters in XAML using normal Binding
6 Jan 2011 by vikas amin
check how your custom install screen will look, without uninstalling silverlight
12 Jul 2011 by Paul Schwartzberg
Formatting XML in a string for visual presentation.
15 Aug 2011 by Darek Danielewski
If you are using ChannelFactory to access your WCF service here is another solution: http://pocorath.blogspot.com/2011/08/servicereferencesclientconfig.html[^].
2 Oct 2011 by Julien Villers
After installing the RC of Silverlight 5, you can't play DRM protected videos, here's a fix.
26 Sep 2011 by AspDotNetDev
The Silverlight WebBrowser won't navigate to some URL's, but this can be worked around.
25 Dec 2011 by Hiren Khirsaria
AgDataGridHeaderMenu
6 Feb 2012 by janman_dk
This works when running in browser. If you need to obtain this information when running OOB, see this article: http://www.pitorque.de/MisterGoodcat/post/Determine-screen-resolution-in-Silverlight-OOB.aspx[^].
13 Jun 2012 by billxie
Advanced technique to apply animation concurrently on multiple controls.
24 Oct 2012 by Ramanujam Shankar
Show data in grid view control of Windows Stores App using web service or WCF
4 Nov 2012 by Michele Ziparo
An effective way to implement a caching system in Silverlight (MVVM) RIA
17 Nov 2012 by Michele Ziparo
An effective way to implement a caching system in Silverlight (MVVM) RIA
9 Jun 2013 by VictorSotnikov
Using certain properties of System.Windows.Controls.ComboBoxItem, we can “split” Combobox list in several “sub-lists” separated by special ComboBoxItem instances that play role of “separators”
17 Jun 2013 by Dipti Dutta
KeyDown event handler to restrict numbers to two decimal places.
17 Apr 2014 by muralikannan_t
How to pass values from one Silverlight application to another using WCF service
27 Jan 2015 by Tilerphy
How to Resolve the popup error window when open AvePoint DocAve site in Windows 8
19 Jul 2015 by Ajcek84
Overview of music notation library
19 Jul 2015 by KADJINA Toyi
This sample is about hiding automatically datagrid columns when all rows of this column are empty.NB: The following code is for silerlight 5 and can be readapt for WPF
22 May 2010 by #realJSOP
In WPF/Silverlight, you might want to bind to a dictionary. Here's a couple of websites I found.
9 May 2011 by #realJSOP
Get access to your Silverlight MainPage object
13 Oct 2010 by Juan Pablo G.C.
To translate App Resources
15 Oct 2010 by Josué Yeray Julián Ferreiro
Change the Sip used to enter text on any textbox based on the use you need of that textbox.
13 Nov 2011 by kvreddy
Microsoft WPF vs. Silverlight, a comparision
19 Jun 2010 by #realJSOP
What to do if you want to resue a style for more than one component of a particular type on a given Silverlight Page
29 May 2012 by Savalia Manoj M
Unhandled error in Silverlight application-Error 2103.