Page view counter

Silverlight Tips of the Day - Blog by Mike Snow

Game Programming with Silverlight

Browse by Tags

All Tags » beta2 » game programming (RSS)
Silverlight Tip of the Day #52 – How to Popup a Browser Window
Let’s say a user clicks on a button and you want to popup a separate browser and point them to a specific web page. How do you do this in Silverlight? Silverlight now supports a method called HtmlPage .PopupWindow(). For security reasons this call can...
Silverlight Tip of the Day #49 – How to Implement a Progress Bar
With the release of Silverlight 2 RC0 there are three new controls we will be discussing that were not available for beta 2. The three new controls with a Tip of the Day for each include: ProgressBar ComboxBox PasswordBox For this tip we will be exploring...
Silverlight Tip of the Day #48 – How to Implement a Combobox
With the release of Silverlight 2 RC0 there are three new controls we will be discussing that were not available for beta 2. The three new controls with a Tip of the Day for each include: ProgressBar ComboxBox PasswordBox For this tip we will be exploring...
Silverlight Tip of the Day #47 – How to Implement a Password Box
With the release of Silverlight 2 RC0 there are three new controls we will be discussing that were not available for beta 2. The three new controls with a Tip of the Day for each include: ProgressBar ComboxBox PasswordBox For this tip we will be exploring...
Silverlight Tip of the Day #46 – Font Support in Silverlight
Default Fonts By Default, Silverlight supports the following local fonts (as shown rendered in Silverlight):   You can also choose from a long list of East Asian fonts if they are available on your local computer: Batang BatangChe DFKai-SB Dotum...
Silverlight Tip of the Day #45: Text Formatting with the TextBlock control
Silverlight comes with a very useful control called TextBlock . This control allows you to render read only text.  Displaying text via this control is as easy as: < TextBlock Text ="Hello There"></ TextBlock >   There are...
Silverlight Tip of the Day #44: Silverlight-enabled WCF Services versus ASMX Web Services
In Tip of the Day #42 I talked about how to create and use a web service using WCF for your Silverlight application. For this tip I would like to briefly discuss WCF and some highlights on why you should use it over the traditional ASMX based Web Services...
Silverlight Tip of the Day #43: Making it Snow in Silverlight
I am not a big fan of winter, being that summer is my favorite season. However, this morning I woke up and heard it’s going to be snowing in the mountains (Cascades) so it inspired me to have a little premature fun by creating a snowy scene in Silverlight...
Silverlight Tip of the Day #42: How to Create a Web Service for your Silverlight App
Web services are essentially API’s that can be accessed over a network such as the Internet. Due to security Silverlight restricts a lot of important features such as saving to the disk. However, you can get around these restrictions by making calls to...
Silverlight Tip of the Day #41: Using Bookmarks in your Silverlight Application
Bookmarks are very useful in web sites because they allow people to directly navigate back to a section of the web site they visited before. This tip will show you how to apply and use bookmarks in Silverlight applications. For example, if a user types...
Silverlight Tip of the Day #40: 1.05 != 1.05 - Peril with Floating Point Comparisons.
The other day I found a bug in one of my Silverlight applications that was doing floating point comparisons. In my animation of an image I was increasing the ScaleTransform .ScaleX by “0.05” from “0.0” to “2.0 and checking to see when my ScaleTransform...
Silverlight Tip of the Day #39 – How to Create a Zoom Toolbar
Effects applied to toolbars are raising in popularity especially the zoom effect. For the purpose of this tip, I have created my own implementation of the zoom effect when applied to a toolbar. To preview the demo visit this link: http://silverlight.services...
Silverlight Tip of the Day #38 – How to Customize the Silverlight Install Experience
If a user visits your Silverlight site without Silverlight installed they will automatically see the following image: While this is a clear message you may want to consider a better, more customizable experience for your web site that includes your web...
Silverlight Tip of the Day #37 – How to Dynamically Load and Display Silverlight Applications
Up to now we have been statically declaring our Silverlight application in our web page ASPX file directly like this: < body style =" height : 100% ; margin : 0 ; ">     < form id ="form1" runat ="server"...
Silverlight Tip of the Day #36 – How to Create Reflections and Shadows for Images and Text.
Reflections are a cool effect you can apply to images and text elements through the use of RenderTransforms. For example, take a look at this screen shot below of reflections which were rendered using Silverlight. The first reflection is done on a TextBlock...
Next