.Net property Grid Control and read only Properties

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Khawar

    .Net property Grid Control and read only Properties

    Hi!
    I was experimenting with .Net property grid control. I found out in an
    article how to show the properties of Com Based objects using
    iCustomTypeDesc riptor 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 ICustomTypeDesc riptor
    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?

    Regards
    Khawar

Working...