Hi,
How to set visibility of properties in a property grid at runtime..?
My requirement is to show and hide some properties based on the selected item of dropdownlist.
Have a look at this...
http://groups.google.co.uk/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/59aeba4afbbce359/758ea50a56d95624?lnk=gst&q=property&rnum=4&hl=en#758ea50a56d95624
Pay attention to pigeonrandle's posts since they have the code you require in them.
HTH,
James.
Hi Jogesh,
Here is a sample for you.
http://www.codeproject.com/csharp/FilteredPropertyGrid.asp
Hope this helps.
Regards
HI James,Rong
Thanks for ur reply...
But i have got a better solution for my problem
Refer http://www.dotnet247.com/247reference/msgs/6/30102.aspx
It's a simple method which will take some arguments and set visisbiltiy of your property at runtime...