Guest mutant Posted April 3, 2003 Posted April 3, 2003 Maybe im stupid and dont see any other way but, so far the only way I can show properties in the grid is by the SelectedObject. Is there a way to set up my chosen properties or remove some from the default ones instead of displaying all the default ones? Quote
Guest mutant Posted April 4, 2003 Posted April 4, 2003 I found a cool article on how to add properties and customize PropertyGrid a little if anyone needs: http://www.codeproject.com/useritems/Using_PropertyGrid.asp But nothing about removing :( Quote
*Gurus* divil Posted April 4, 2003 *Gurus* Posted April 4, 2003 The PropertyGrid reflects classes. There's no way to just add and remove random properties to/from it. You might be able to fake it using a class that implements ICustomTypeDescriptor. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.