Subject:Properties HTML Objects Author:Khawar Ahmad Date:15 Aug 2005 07:56 AM
I was experimenting with .Net property grid control. I found out in an article how to show the properties of Com Based objects using iCustomTypeDescriptor Interface. I tried it on MSHTML Classes and it worked fine but I noticed that some of the properties(e.g. height property for MSHTML objects) were readonly as i went in details i found out that these properties were not readonly when ICustomTypeDescriptor gets them but on some layer before being diplayed by property grid control they are converted to readonly. I have worked on Stylus Studio and Microsoft Visual Studio .net's editor for HTML and the same properties are being displayed in writable mode. Can somebody solve this mystery that how come those properties became readonly and how can i manipulate them?