Click here to Skip to main content
12,692,778 members (33,467 online)
Rate this:
Please Sign up or sign in to vote.
See more: WPF
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 15-Nov-12 1:34am
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.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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

Espen Harlinn 15-Nov-12 20:03pm
Good suggestion :-D
Sergey Alexandrovich Kryukov 15-Nov-12 22:06pm
Thank you, Espen.
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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 15 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100