I wish to hide most property when the “Enabled” property is set to false on my object. I can do this with a custom TypeConverter (subclass of ExpandableObjectConverter) by overriding GetPropert开发者_开发知识库ies(). However I need to tell the property somehow to re-query for the property descriptors.
Put [RefreshProperties(RefreshProperties.All)] on the property you wishes value change to get the property grid to re-query.
精彩评论