Show embedded relationship property in property grid
-
Tuesday, August 09, 2011 2:22 PM
I'd like to edit an embedded relationship in the propery grid.
I've already read through some other threads and was able to create a custom UITypeEditor which worked also quite fine.See:
- http://social.msdn.microsoft.com/Forums/en/dslvsarchx/thread/4a9d6399-bd86-4608-8f89-c5b6e51a9731
- http://social.msdn.microsoft.com/forums/en-US/vsx/thread/348c3ed6-1e49-4871-8708-6b6278cd2b90/
The embedded relation that I use is 0..n. So there would be no other way than a custom editor. The only problem that I have now is, that the property is not shown in the grid at all.
So I'm not able to get my custom editor called. I've read something promising in another thread, but unfortunately the link mentioned there is down.
(See: http://social.msdn.microsoft.com/Forums/en/dslvsarchx/thread/12388765-df26-47d5-89af-e4db3c06d576)
Help is much appreciated as this is the final puzzle piece that is left.Thanks in advance.
King regards
lg
All Replies
-
Tuesday, August 30, 2011 3:43 PM
About the last referenced thread that mentions a broken link, I invite you to go to this address (http://mexedge.wordpress.com/2009/09/02/provide-an-improved-user-experience-to-your-dsls/). We're migrating to Wordpress.
Rgds,
Pascal
http://www.netfxfactory.org/ -
Thursday, September 08, 2011 11:32 AM
I've found a much easier way to solve my problem.
As my embedded relation was not shown in the property window, I just created a dummy property and used my custom editor.
When the editor is called the whole DSL class is used at the context and not only the property. So it's some kind of a small workaround, but it works.
kind regards
lg
- Marked As Answer by lg-artiso Thursday, September 08, 2011 11:32 AM

