This project has moved and is read-only. For the latest updates, please go here.

How to allow the editor collection add enums into a list?

Apr 6, 2012 at 5:57 PM

Hi there. I'm using right now the PropertyGrid control and it's an excelent control. I'm just having one problem with it, I guess that concerns into the EditorCollection.

In SelectObject from PropertyGrid, I set an object which contains a List<Levels> (Levels is an enum, I mean, list of an enum), and the dialog doesn't allow me to add more enums to the list.

My enum contains Levels.Easy, Levels.Medium, Levels.Hard. And my purpose is to have in the list the options what he wants. Is possible do this way?