Silverlight Snippets


Download a zip (7 KB) of them all and extract them into your Snippets folder, which is in your Documents folder: Documents\Visual Studio 2010\Code Snippets\Visual C#\My Code Snippets\. These also work with Visual Studio 2008.
Included snippets

Name
Description

dp
A standard dependency property with a property changed handler

dp_attached
An attached property declaration

dp_nohandler
A dependency property without a change handler

dp_value
A value type dependency property with change handler

dp_value_nohandler
A value type dependency property without a change handler

inot
An INotifyPropertyChanged implementation

test
A simple unit test method, descriptive comment, and description attribute

testa
An asynchronous unit test method

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s