共用方式為


Windows Phone Developer Tips

General Windows Phone developer tips including but limited to game programming tips. Also, general Silverlight news and announcements.

Silverlight Tip of the Day #29: Creating a Transparent, Draggable Dialog with Rounded Corners

For this tutorial we will step you through the basics of what you need to do to create a dialog that...

Date: 01/14/2009

Silverlight Tip of the Day #28: How to Implement a Custom Mouse Cursor

In Tip of the Day #27 we talked about how to change the mouse cursor. But what if you want to have a...

Date: 01/14/2009

Silverlight Tip of the Day #27: How to Change the Mouse Cursor

Let’s say you want to change the mouse cursor when hovering over a UI element. You can do this...

Date: 01/14/2009

Silverlight Tip of the Day #26: How to Change the Output XAP File Name.

Don’t like the default name given to your XAP file? Good news! You can change it but there are two...

Date: 01/14/2009

Silverlight Tip of the Day #25: How to Build the XAP File to the Debug/Release Folders

By default when you build your Silverlight application you will notice the XAP file is placed in...

Date: 01/14/2009

Terrain Tutorial Part 1 – Creating a Scrolling Map

For this tutorial we will be generating a 2D scrolling map. The view is a straight down birds eye...

Date: 11/19/2008

Silverlight Tip of the Day #24: How to Apply a XAML Template to a Class

Let’s say you have a class where you want to declare elements via a XAML template instead of...

Date: 11/19/2008

Silverlight Tip of the Day #23 – How to Capture the Mouse Wheel Event

Silverlight currently does not support mouse wheel events. However, you can attach an event to...

Date: 11/19/2008

Silverlight Tip of the Day #22 – How to add Sound Effects, Music and Video to your Silverlight App.

No game is complete without a great sound track and sound effects! This tutorial will show you how...

Date: 11/19/2008

Silverlight Tip of the Day #21 – How to work with Shapes, Brushes and Gradients

Shapes, gradients and brushes provide the user with a lot of power to make custom controls that look...

Date: 11/19/2008

Silverlight Tip of the Day #20 – How to Increase your Isolated Storage Quota.

Each application by default is given 1 MB of storage space through Isolated Storage where the server...

Date: 11/19/2008

Silverlight Tip of the Day #19: Using Isolated Storage

Silverlight uses Isolated Storage as a virtual file system to store data in a hidden folder on your...

Date: 11/19/2008

Silverlight Tip of the Day #18: How to Set Browser Cookies.

Cookies are strings of text that the server can store on the client side. These cookies can then be...

Date: 11/19/2008

Silverlight Tip of the Day #17: How to Animate a Rotating Image

Each Silverlight element exposes a property called RenderTransform that is used to set the transform...

Date: 11/19/2008

Silverlight Tip of the Day #16 - StoryBoard versus DispatcherTimer for Animation and Game Loops.

In Tip of the Day #5 I discussed how to use the DispatcherTimer for your main game loop. However, a...

Date: 11/18/2008

Silverlight Tip of the Day #15 – Communicating between JavaScript & Silverlight

Communicating between Javascript and Silverlight is, fortunately, relatively straight forward. The...

Date: 11/18/2008

Silverlight Tip of the Day #14 – How to Right Click on a Silverlight Application.

You may have noticed that right clicking on a Silverlight application brings up the following...

Date: 11/18/2008

Silverlight Tip of the Day #13 - How to Get an Images Dimensions in Silverlight.

Since Silverlight is based upon an asynchronized model, getting an image width and height...

Date: 11/18/2008

Silverlight Tip of the Day #12 - Full Implementation of a Silverlight Policy Server.

Before a Silverlight application can connect to a server it must first successfully connect to a...

Date: 11/18/2008

Silverlight Tip of the Day #11 – How to make your Silverlight Control Transparent.

[Blog Mirrored from https://silverlight.net/blogs/msnow/default.aspx] In order to make your...

Date: 11/18/2008

Silverlight Tip of the Day #10 – How to Dynamically Load and Display Images

[Blog Mirrored from https://silverlight.net/blogs/msnow/default.aspx] Loading images in Silverlight...

Date: 11/18/2008

Silverlight Tip of the Day #9 – How to Capture the Size of your Browser when it is Resized.

[Blog Mirrored from https://silverlight.net/blogs/msnow/default.aspx] For this tutorial, I will be...

Date: 11/18/2008

Silverlight Tip of the Day #8 - Silverlight Blogs and Resources

[Blog Mirrored from https://silverlight.net/blogs/msnow/default.aspx] The following is my list of...

Date: 11/18/2008

Silverlight Tip of the Day #7: Creating Transparent PNG files for Silverlight

[Blog Mirrored from https://silverlight.net/blogs/msnow/default.aspx] With GIF's, which aren’t...

Date: 11/18/2008

Silverlight Tip of the Day #6: Monitoring for Keyboard and Mouse Events.

[Blog Mirrored from https://silverlight.net/blogs/msnow/default.aspx] Silverlight 2 provides full...

Date: 11/18/2008

Silverlight Tip of the Day #5: Timers and the Main Game Loop

Main Game Loop [Blog Mirrored from https://silverlight.net/blogs/msnow/default.aspx] The main game...

Date: 11/18/2008

Silverlight Tip of the Day #4: Building the Game Interface Using the Grid Control.

[Blog Mirrored from https://silverlight.net/blogs/msnow/default.aspx] Silverlight provides a...

Date: 11/18/2008

Silverlight Tip of the Day #3: Silverlight Game Support, Limitations and Workarounds

[Blog Mirrored from https://silverlight.net/blogs/msnow/default.aspx] While exploring techniques for...

Date: 11/18/2008

Silverlight Tip of the Day#2: Creating a Silverlight Application Project with Visual Studio 2008

[Blog Mirrored from https://silverlight.net/blogs/msnow/default.aspx] To start, let's create a new...

Date: 11/17/2008

Silverlight Tip of the Day #1: Setup and Installation of Silverlight and Silverlight Tools

[Blog Mirrored from https://silverlight.net/blogs/msnow/default.aspx] Silverlight Tools is an add-on...

Date: 11/17/2008