Designer property of form

I'm sure this is blindingly obvious.. 
I want to add some designer properties to a winform - so to test the concept I added a public string property to the form code, and decorated it with [BrowsableAttribute(true)] - but it does not show up in the IDE designer. If I drop a property grid on the form, and set the propertygrids active control to the form itself, I can see the new property when I run the app... 

What am I missing  

TIA 


Answer this question

Designer property of form

  • Michael Daniel

    I said it was blindingly obvious :-) Thanks guys.
  • azastawski

    Try this
    make (Inherit) a form 
    Add  properties and attributes 
    Save & Compile the form (eg Myform)

    Now inherit from Myform and drop a propertygrid on that form 
    This should work

    Remco


  • sathyamca

    This article will be helpful:

    <a href="http://www.urbanpotato.net/Default.aspx/document/970">http://www.urbanpotato.net/Default.aspx/document/970</a>

  • Designer property of form