Click here to Skip to main content
15,899,007 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to create an i.d. key to a dropped item on a canvas.
so that when it is clicked, it will retrieve its custom property like in vs2008 propertygrid.
Posted
v2
Comments
Sergey Alexandrovich Kryukov 15-Nov-12 14:03pm    
It's not "VS2008 property grid". You probably mean System.Windows.Forms.PropertyGrid. Is has nothing to do with Visual Studio.
--SA

1 solution

With pure FCL, this is a kind of a big problem. I would advise to use this component: http://wpg.codeplex.com/[^].

—SA
 
Share this answer
 
Comments
Espen Harlinn 15-Nov-12 20:03pm    
Good suggestion :-D
Sergey Alexandrovich Kryukov 15-Nov-12 22:06pm    
Thank you, Espen.
--SA
studiocode++ 16-Nov-12 6:32am    
Thank you sir Sergey for the quick reply. :D

Actually,i have created some custom controls that are being loaded to an itemcontrol in my project.And what im trying to achieve is that, i need to locate every dropped item and bind it to its distinctive property.
I tried using array to give the dropped item a unique key.
But it was a big failure. :(
Sergey Alexandrovich Kryukov 16-Nov-12 11:30am    
You are very welcome.

Well, I perfectly understand the importance of PropertyGrid -- it's very powerful and universal functionality.
This component should fill the gap and help you to implement whatever you want.
If you agree that it makes sense, please consider accepting the answer formally (green button) -- thanks.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900