Customising property grid
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Hello, Does anyone know how can I display only one categorty in the property grid ? I've created a custom control that inherits from usercontrol, but when I put the property grid I am seeing ALL the properties of this user conrtol. Thanks, Eyal
I dont know why do you have such requirement. However I can say that its difficult but not impossible. You will need to create another type at runtime using reflaction emit, from the object you wish to bind to property grid. This type will have only those properties which you want to bind to the grid. Once type is created, assign populated object of newly created type to the grid... Hope this piece of information will be useful to you.
M Aamir Maniar aamirOnline.com