Page view counter

Silverlight Tips of the Day - Blog by Mike Snow

Game Programming with Silverlight

Browse by Tags

All Tags » visual studio 2008 » resources (RSS)
Silverlight Tip of the Day #70 – Data Collection Support in Silverlight
Silverlight provides a number of options for data collection, storage and retrieval. In this Tip I will be walking you through various ways of doing this. You will need to add a using statement in your page to reference System.Collections; BitArray. The...
Silverlight Tip of the Day #68 – Great Silverlight Sessions to Watch from PDC 2008
The Professional Developer Conference of 2008 has concluded. If you were not one of the fortunate people to attend don’t fret you can still view the presentations online! The following links below are the Silverlight related presentations from PDC I have...
Silverlight Tip of the Day #67 – Silverlight Performance Tips
After watching Seema’s PDC talk on Building an Optimized, Graphics-Intensive Application in Microsoft Silverlight I thought it would be useful to summarize what I learned. 1. Debugging The following items will help you debug performance in your Silverlight...
Silverlight Tip of the Day #66 – How to copy XAML for Silverlight from Expression Designer
Microsoft Expression Design is a professional illustration and graphic design tool that lets you build compelling elements. This tool is especially great for creating vector based graphics for your elements. If you do not have Expression Designer, check...
Silverlight Tip of the Day #65 – Adding a Mouse Wheel Event Listener to your Controls
In Tip of the Day #23 I showed you how to capture the mouse wheel event. In this tip we will take it one step further by implementing a IMouseWheelObserver interface that your Silverlight elements and controls can inherit from. This way, anytime the mouse...
Silverlight Tip of the Day #64 – Deploying a Silverlight Application with a Web Service
In Tip of the Day #42 I discussed how to create Silverlight-enabled WCF web service. In this tip I will discuss the steps necessary to take in order to publish and deploy the web service with your Silverlight application on your server. For security reasons...
Silverlight Tip of the Day #63 – How to Monitor HTTP Traffic for Errors
Recently when deploying a Silverlight application with a web service I forgot to include a client access policy and cross domain file. As a result I got the following exception when attempting to browse to my application: The exception did not make the...
Silverlight Tip of the Day #62 – How to Create a Hyperlink
Hyperlinks are a graphic or string that connects readers to another web site when clicked. Generally these are a few words that are identified by a blue color and a underline. Here is an example of a hyperlink: Click Me In Silverlight Hyperlinks can be...
Silverlight Tip of the Day #61 – How to Create a Tooltip
If you have a FrameworkElement such as an Image , Button, TextBlock , etc. you can add a tooltip to the element. Tooltips are usually small, boxed text that popup when a user hovers over the control. The purpose of the tooltip is to tell the user what...
Silverlight 2 has been Released!
Today I am very proud to announce that Silverlight 2 has been officially released! Grab it today at http://silverlight.net/GetStarted . This is a phenomenal release that provides a powerful solution to creating rich web application. At the link above...
Silverlight Tip of the Day #60 – How to load a XAML Control From a File or String
If you have a control written in XAML that is included in your project you can load and create it directly from file by using the method: System.Windows.Markup. XamlReader .Load(). This method can also be used to directly create a Silverlight control...
Silverlight Tip of the Day #59 – How to Display Special Characters in XAML
If you try to use the following characters in a string in XAML you will get a slew of errors in your Error List: < > & “ For example, if you tried to do this: < Button Width ="100" Height ="100" Content ="Click &...
Silverlight Tip of the Day #58 – Text Wrapping and Line Breaks in TextBlocks
TextBlocks are a great control to use in Silverlight to display read only text. In Tip of the Day #45 I covered the basic usage of TextBlocks including formatting and text runs. For this tip I would like to show you how to make a TextBlock with wrapping...
Silverlight Tip of the Day #57 – How to Dynamically Load a Silverlight Control within another Silverlight Control
    Let’s say your site is entirely written in Silverlight but you want to be able to load and run a different Silverlight application within your main Silverlight application/site. Currently this scenario is not directly supported in Silverlight...
Silverlight Tip of the Day #56 – Accessing the HTML DOM from Silverlight.
In Silverlight you can interact directly with the HTML DOM (Document Object Model). This can be done through the HtmlPage .Document object: HtmlDocument doc = HtmlPage .Document; Make certain to first add a reference to the following namespace: using...
Next