Click here to Skip to main content
15,881,248 members
Articles / Desktop Programming / WPF
Alternative
Tip/Trick

How to simplify coding DependencyProperty in WPF and Silverlight

Rate me:
Please Sign up or sign in to vote.
4.44/5 (5 votes)
19 Jan 2012CPOL 16.8K   2
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.

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.

License

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


Written By
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 edkolis@gmail.com.

Comments and Discussions

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

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

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