This is a ReSharper code snippet I’ve been using quite a lot lately - it allows you to easily create a WPF dependency property along with event handlers, documentation, and initialization code. Here’s a sample:
#region MyStringProperty dependency property
/// <summary>
/// This is a sample string property.
/// </summary>
public static readonly DependencyProperty MyStringPropertyProperty;
//TODO: copy to static constructor
//register dependency […]