nerdplusart.com | Silverlight Code Snippets for DependencyProperties and other Handy Stuff


 

Download The Snippets

If you’re new to VS snippets, you can get the skinny here.  To use them you just install the .vsi (see link above) and then type the snippet shortcut (e.g. sldp), hit tab a couple of times to kick off the snippet and then start providing the values it asks for (hit tab to move between values).  When you’re done, hit enter.

The Short Descriptions

Here’s the short guide to the snippets.  A little more detail follows.

sldp
A basic Silverlight DependencyProperty

sldpc
A Silverlight DependencyProperty with a property changed callback

sldpa
An attached Silverlight Dependency Property

slevent
A really basic event definition

slsbc
An inline, anonymous Storyboard.Completed handler (check this one out, it’s cooler than it sounds)

slpanel
A really simple implementation of a panel

slrss
A super basic collection class that loads an RSS feed

slvc
The boilerplate code you need to create a value converter

Examples: nerdplusart.com | Silverlight Code Snippets for DependencyProperties and other Handy Stuff

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