Page view counter

Silverlight Tips of the Day - Blog by Mike Snow

Game Programming with Silverlight

Browse by Tags

All Tags » beta2 (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...
EnvDTE.OutputGroup.get_FileCount() exception with Silverlight 2 RC0
If you installed Silverlight 2.0 RC0 with the Blend 2.5 June Preview on the box you will notice the installer blocked on this version of Blend and gave the following error message: However, on the forums some customers have proceeded to install Blend...
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 #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 #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...
Silverlight Tip of the Day #35 – Full Screen Mode Implementation
To have your application enter into full screen mode all you have to do is execute the following line of code: Application.Current.Host.Content.IsFullScreen = true; Once in full screen Silverlight will briefly show the following message that will fade...
Silverlight Tip of the Day #34 – How to Center your Silverlight Application in your Browser
By default your Silverlight application is aligned to the left of your browser. How cool though would it be if you could keep your Silverlight application centered in the browser? Run this demo here: http://silverlight.live.com/ContentTestPage.aspx?setName...
Next