Click here to Skip to main content
Click here to Skip to main content
Alternative Tip

How to simplify coding DependencyProperty in WPF and Silverlight

By , 19 Jan 2012
Rate this:
Please Sign up or sign in to vote.

Visual Studio already has built-in "code snippets" to handle this; type "propdp" and hit tab. For some reason this doesn't work in Silverlight projects, but you can get around this by copying the snippet from a WPF project into the Silverlight snippets list.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

None Yet!
United States United States
Ed is an aspiring .NET developer recently graduated from college at the University of Cincinnati in southwestern Ohio. Aside from programming, he is interested in strategy games such as "Space Empires V" and "roguelike" games such as "Angband", and would like to program such games as well! Ed is currently looking for a .NET development role, and can be reached at

Comments and Discussions

GeneralReason for my vote of 1 another bicycle envented PinmemberVMAtm11-Feb-12 20:47 
Reason for my vote of 1
another bicycle envented
GeneralIn Visual Studio 2010 "propdp" do work in Silverlight projec... PinmemberDawningTiger19-Jan-12 15:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 19 Jan 2012
Article Copyright 2012 by ekolis
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid