I have created a class inherit from StateManagedCollection.
It has got a few class as Columns like GridView.
But I can not select which filed I want to select from.
It should look like the picture below in design.

But mine is the one below:

I have written the property as below:
[Description("A collection of ToolBarItem's ")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[Editor(typeof(System.ComponentModel.Design.CollectionEditor), typeof(System.Drawing.Design.UITypeEditor)), PersistenceMode(PersistenceMode.InnerProperty)]
public virtual Items Items
{
}
Can anyone help me out?
GridView columns collection uses a custom UI Type editor to show this interface. The in-built ASP.NET
CollectionEditorwill not show the required UI. Further in your case,CollectionEditormay not work if the collection’s item type is a abstract class.Solution is to build your own custom UI Type editor – basic steps are
System.Drawing.Design.UITypeEditor.GetEditStylemethod to inform the property browser that you will launch modal form.See a couple examples here (see sample for TagTypeEditor) and here.