Hi PavanKK,
You said: I was trying to explore the option of implementing ICustomTypeDescriptor and TypeDescriptionProvider. Though I'm not very clear at this point if it really is going to help me or not, I'm going to give it a try too. Pls let me know what you think of this.
Based on my understanding, it would help, you can try. In fact, the custom PropertyGrid at the link I provided binds an object which implements ICustomDescriptor to filter the properties of the selected object.
You also said: Is this scenario achievable by overriding SelectedObject in the propertygrid?
Yes, the custom PropertyGrid use this method to hide some public properties. You can read the code of it to get the details.
Regards,
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.