locked
Where is "CollectionEditor" class, It was in System.ComponentModel.Design namespace ! RRS feed

  • Question


  • Are CollectionEditor moved to another namespace?
    or it been replaced by another class?

    It was in System.ComponentModel.Design namespace
    now I can't find it.


    Tuesday, January 19, 2010 8:18 AM

Answers

  • AFAIK it is still there: Just run ildasm/Reflector on %WinDir%\Microsoft.NET\Framework\v4.0.21006\System.Design.dll (.NET Fx 4.0 Beta2)

    .class public auto ansi beforefieldinit System.ComponentModel.Design.CollectionEditor
           extends [System.Drawing]System.Drawing.Design.UITypeEditor
    {
    } // end of class System.ComponentModel.Design.CollectionEditor
    Tuesday, January 19, 2010 5:06 PM
    Moderator

All replies

  • AFAIK it is still there: Just run ildasm/Reflector on %WinDir%\Microsoft.NET\Framework\v4.0.21006\System.Design.dll (.NET Fx 4.0 Beta2)

    .class public auto ansi beforefieldinit System.ComponentModel.Design.CollectionEditor
           extends [System.Drawing]System.Drawing.Design.UITypeEditor
    {
    } // end of class System.ComponentModel.Design.CollectionEditor
    Tuesday, January 19, 2010 5:06 PM
    Moderator
  • you have to add a reference to System.Design. That seems to add the collection editor to the System.ComponentModel.Design namespace.
    Saturday, February 6, 2010 10:32 AM