Dependency Property ReSharper Live Template
Don’t you love Dependency Properties?
After the ease of automatic properties though, dependency properties are a chore to define.
If you’ve got ReSharper (if not, why not?), I’ve got a simple Live Template you can use to create your dependency properties.
I’ve set it up to use the dp keyword.
Here it is in use. Typing dp first to pop up the template:
Hitting tab or enter will run the template, with the name macro already selected:
Read More »