How to show and hide griditems of propertygrid at runtime

  • Thread starter Thread starter jeff teng via .NET 247
  • Start date 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
 
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
 
Back
Top