65.9K
CodeProject is changing. Read more.
Home

How to simplify coding DependencyProperty in WPF and Silverlight

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.44/5 (5 votes)

Jan 19, 2012

CPOL
viewsIcon

17314

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.