PropertyGrid question

  • Thread starter Thread starter mutant
  • Start date Start date
M

mutant

Guest
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?
 
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.
 
Back
Top