How to show and hide griditems of propertygrid at runtime

  • Thread starter jeff teng via .NET 247
  • Start date
J

jeff teng via .NET 247

(Type your message here)
Is it possible to show and hide certain griditems of propertygrid at runtime. Say if a user choose certain value in a dropdown list of one griditem, the propertygrid shows more griditems which is hidden in the begining. Thanks
 
J

Joey Callisay

yep, by implementing ICustomTypeDescriptor and overriding the Browsable
attribute of some properties of GetProperties method.

http://www.thecodeproject.com/cs/miscctrl/customizingcollectiondata.asp

jeff teng via .NET 247 said:
(Type your message here)
Is it possible to show and hide certain griditems of propertygrid at
runtime. Say if a user choose certain value in a dropdown list of one
griditem, the propertygrid shows more griditems which is hidden in the
begining. Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top