This is a migrated thread and some comments may be shown as answers.

Design time custom property editors?

1 Answer 65 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Happy
Top achievements
Rank 1
Happy asked on 15 Jun 2010, 02:11 PM
This isn't exactly a telerik question but thought I'd give it a shot. I'm trying to port my win framework to wpf using your controls.  As a part of my framework, I have custom controls and components with specialized business properties and in WinForms, I would use the UITypeEditor attribute to specify a custom design time interface. Thay way, within Visual Studio at design time, I could give the user my own custom dialog interface for manipulating properties, picking a business object, etc.

I don't see any way to do this with WPF. Is this not possible? In looking over your own controls, I don't see any custom interface anywhere. I would have expected something on the gridview but even there, it looks like it opens up the generic collection editor.

Is it possible to have a design time custom property dialog editor that the Visual Studio designer will automatically use?

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 23 Jun 2010, 08:53 AM
Hi Happy,

Yes, this is possible.

I suggest you refer to the following articles for more details:

http://blogs.msdn.com/b/wpfsldesigner/archive/2010/01/13/wpf-silverlight-design-time-code-sharing-part-ii.aspx
http://blogs.msdn.com/b/wpfsldesigner/
http://blogs.msdn.com/b/expression/archive/2009/08/26/using-custom-value-editors-for-behaviors.aspx

All the best,

Nick
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Happy
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or