If you want to author custom design-time experiences for your WPF controls, this is a good place to start. We have samples for custom adorners, context menus, property value editors, and advanced scenarios. This code is written for Visual Studio 2010