Browse by Tags
All Tags »
version 2 (
RSS)
From within VS you can specify which Internet browser you want launched when running your Silverlight application. Your default system browser is not affected by this setting. To make this change right click on your startup web page and choose Browse...
With the release of Silverlight 3 Beta 1 GPU (Graphics Processing Unit) acceleration (or hardware acceleration) is now available. The GPU is a processor attached to your graphics card that is generally used for calculating floating point operations. In...
Of the course of the last year I have been collecting links to some really good Silverlight tutorial blogs that I thought I would share with you. These are active blogs, frequently updated, that are specifically oriented to teaching Silverlight development...
Once you have an image loaded how do you go back and get the original file name for the source file? This can be accomplished through the Uri property of the images Source . However, you must first typecast the images Source to be a BitmapImage . The...
If you ever run into this error when running your application you might be a bit perplexed by its encrypted meaning. Looking at the exceptions details you will see something like which really doesn’t help you very much: System.Windows.Markup.XamlParseException...
When it comes to drawing shapes such as rectangles you are probably fully aware you can draw shapes specifying the color and thickness of the lines. This is done via the properties StrokeThickness and Stroke . For example, take a look at the rectangle...
In Tip of the Day #93 I showed you how to read XML via XmlReader . However, a better and simpler approach (IMHO) would be to use LINQ. Let’s start with the same XML file we used in Tip #93. <?xml version= "1.0" encoding= "utf-8"...
In Tip of the Day #86 I showed you how to load external images not included in the project such as images on the web. In this Tip I will be showing you had to load images from the client’s machine through a file stream. Due to obvious security reasons...
In addition to controls, the Silverlight Toolkit comes with a great set of themes that can easily be applied to your controls. These themes currently include: Bureau Black Bureau Blue Expression Dark Expression Light Rainier Purple Rainier Orange Shiny...
The CSPROJ file, saved in XML format, stores all the references for your project including your compilation options. There is also a SLN file which stores information about projects that make up your solution. If you are using Visual Studio and have the...
In this Tip I will be showing you how to place hard coded strings into a resource area. This is a common best practice for software development that makes it much easier to manage the strings in your application. To start, open up your App.xaml file and...
If you have a large game or application it might be wise to break it up into smaller components (DLL’s) that can be downloaded to the client from the server as needed. This way your customers are not stuck waiting for a large download to complete when...
On Tuesday, January 20th the Presidential Inauguration will be available through the Inauguration Committee web site . They will be streaming live with the help Microsoft Silverlight. The event, starting with the swearing-in ceremony, starts at 11:30...
MIX Is just around the corner and if you haven’t already registered I highly recommend you do! This is one event I look forward to the most each year. I attended last year and I had the most incredible experience learning about Silverlight and meeting...
Silverlight currently has full mouse support for single click. However, double click is a another story. In this tip I will show you how to implement double click. You can apply this technique for an individual control or even your entire page. The key...
Next