Quantcast
Channel: Silverlight – Patrick Desjardins' Blog
Browsing latest articles
Browse All 30 View Live

How to clone with Silverlight without ICloneable?

The .Net Framework allow to clone ICloneable interface. This interface has a single method that is Clone. This interface is not available in Silverlight. The reason is that Microsoft have found that...

View Article



Image may be NSFW.
Clik here to view.

How to debug Silverlight application with only XAP file?

Sometime, when the application is deployed to IIS server you may still need to do some debugging. Debugging a Silverlight application is in fact very easy, and pretty much the same when you are working...

View Article

Silverlight communication with Javascript

You may have some situation that you need to communicate with the page that your Silverlight reside. This can be done by three methods: Passing parameter to Silverlight Silverlight call a Javascript...

View Article

Image may be NSFW.
Clik here to view.

How to localize Silverlight Application with Resource File

Having your Silverlight application in multiple language is pretty the same as ASP.NET localization mechanism. The first step is to create a new Resources File for your default language (English is the...

View Article

Image may be NSFW.
Clik here to view.

Silverlight exception with javascript “failed to invoke” when using...

Silverlight can interact with the Javascript that reside in the page that this one is hold. We have seen in the Silverlight Communication post that it’s possible with the use of...

View Article


How to add animated effect to UIElement.Effect

If you want to make glowing a shape with Silverlight without having to use Xaml it’s possible. At first, I thought it was impossible because I were using a third-party object that use their own type of...

View Article

Image may be NSFW.
Clik here to view.

Localized Silverlight with Resource File

Let say that you want to have your application in multiple language. In Asp.Net, the choice is obvious to go with resource file. Since I am coming from the web side, I did the same thing with...

View Article

Image may be NSFW.
Clik here to view.

Installing Silverlight 2 on Visual Studio 2008 without getting the event log...

The event log file is full error This is what I was getting the day I had to install Silverlight 2 on a Visual Studio 2008 software. I have Visual Studio 2010 working with Silverlight 4 but this...

View Article


How to do a hit test with Point and Shape?

In some situation, you may need to know if the mouse has hit a specific polygon drawn in a canvas. This can be easily done with Silverlight using the VisualTreeHelper. First of all, you need to have a...

View Article


How to handle multiple global constants in an application

The best way to have something organized and having constants in a single place is to have a class that will have inner class. This way, you can organize by theme your constants. public static class...

View Article
Browsing latest articles
Browse All 30 View Live


Latest Images