Search Wiki:
Resource Page Description
Full solutions that demonstrate how to implement custom designer experiences for Visual Studio's WPF and Silverlight designer.

Requirements: Visual Studio 2010 Beta 1 or higher.

The following list shows the features that are supported by both Visual Studio 2010 and Expression Blend.


WPF and Silverlight Design-time Code Sharing
This example covers writing design-time code that is shared between WPF and Silverlight. It demonstrates implementing the following features.

  • Adorner
  • Inline Value Editor
  • Category Editor
  • Menu Action
  • Adding Icon to control
  • Metadata
  • Assigning category
  • Assigning type converter
  • Keeping your custom control out of Choose Items listing and not adding to Toolbox


WPF and SL design-time code sharing.jpg
Download C# | Download Visual Basic | WPF & Silverlight Design-Time Code Sharing – Part I | WPF & Silverlight Design-Time Code Sharing – Part II

Silverlight Designer Sample
Example design-time implementations for the Silverlight TabControl and DataGrid controls.
SL DataGrid designer.jpg
Download | View Related Documentation

Autosize Adorner
A simple adorner that toggles the AutoSize property for a custom WPF control.
Autosize adorner detail.jpg
Download | View Related Documentation

Context Menu Provider
A simple context menu provider that changes the Background property of a custom control.
Context menu provider detail.jpg
Download | View Related Documentation

Dialog Property Value Editor
A dialog-based value editor for the Properties window that enables setting a FileName property by using an OpenFileDialog.
Dialog property value editor detail.jpg
Download | View Related Documentation

Category Property Value Editor
A category editor for the Properties window that enables setting related text properties on a custom control.
Category property editor detail.jpg
Download | View Related Documentation

Extended Property Value Editor
An extended editor for the Properties window that enables setting the Background property of a WPF control by selecting from a list of colors.
Extended property value editor detail.jpg
Download | View Related Documentation

Feature Connector
Implements a feature connector that displays pending and activated feature connectors and designer services.
Feature connector detail.jpg
Download | View Related Documentation

In-place Editing
A simple adorner that implements in-place editing on a custom WPF control.
In-place_editing_detail.jpg
Download | View Related Documentation

Opacity Slider Adorner
A rail adorner that uses a slider control to change the opacity of a custom WPF control.
Opacity_slider_adorner_detail.jpg
Download | View Related Documentation

Primary Selection Policy
Implements a surrogate policy that provides container semantics for a selected item. By using this policy, the DemoDockPanel container control offers a docking context menu and a mouse dragging task on its children.
Primary selection policy detail.jpg
Download | View Related Documentation

Property Value Editor
A simple inline editor for the Properties window that sets the background property to one of three colors.
Inline property value editor detail.jpg
Download | View Related Documentation

Skew Adorner
A rail adorner that uses a slider control to change the SkewTransform of a custom WPF control.
Skew slider adorner detail.jpg
Download | View Related Documentation

Windows Forms Vendor Control Example
Shows how to host a third-party Windows Forms control in a WPF window.
Download |View Related Documentation
Last edited Sep 22 2010 at 8:21 PM  by rlyon, version 42
Updating...
Page view tracker