Microsoft.com
All DevCenters
MSDN Home
MSDN Archive:
MSDN Archive Home
|
Browse Archive
|
Share Code
|
Help and FAQs
WPF and Silverlight Designer Extensibility Samples
Home
Downloads
Discussions
Issue Tracker
People
License
Close
RSS
All Resource Updates
Discussions
Issue Tracker
Releases
Wiki
RSS
Comments
|
Print
|
Page Info
|
Change History (all pages)
Search Wiki:
Home
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
.
Adorners
Context menus
DesignModeValueProvider
Default initializers
All of the
ModelItem
features, such as selection and manipulation.
Properties window
extensibility
(same as Blend 2)
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
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.
Download
|
View Related Documentation
Autosize Adorner
A simple adorner that toggles the AutoSize property for a custom WPF control.
Download
|
View Related Documentation
Context Menu Provider
A simple context menu provider that changes the Background property of a custom control.
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
.
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.
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.
Download
|
View Related Documentation
Feature Connector
Implements a feature connector that displays pending and activated feature connectors and designer services.
Download
|
View Related Documentation
In-place Editing
A simple adorner that implements in-place editing on a custom WPF control.
Download
|
View Related Documentation
Opacity Slider Adorner
A rail adorner that uses a slider control to change the opacity of a custom WPF control.
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.
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.
Download
|
View Related Documentation
Skew Adorner
A rail adorner that uses a slider control to change the SkewTransform of a custom WPF control.
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
Comments
Sign in to add a comment
Current Release
WPF and Silverlight De...
Mon Jan 11 2010 at 8:00 AM
More Tags ...
Popular Tags
.NET
.NET 2.0
.NET 3.5
.NET Framework
2008
2009
2010
2011
2012
ADO.NET
ASP.NET
Azure
C#
C++
CRM
Entity Framework
Hotfix
LINQ
LINQ to SQL
March Issue
MCMS
MSDN Magazine
Samples
SharePoint
SharePoint 2010
silverlight
SQL Server
tfs
VB.NET
Visual Basic
Visual Studio
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
VS SDK
VSTO
VSX
WCF
windows 7
Windows Forms
Windows Mobile
WPF
Manage Your Profile
Contact Us
MSDN Flash Newsletter
© 2008 Microsoft Corporation. All rights reserved.
Terms of Use
Trademarks
Privacy Statement
Updating...