How to create "Available field" properties in my own property?
<p>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.
<img src="http://i.stack.imgur.com/UEjAY.jpg" alt="GridView Columns property"></p>

<p>But mine is the one below:
<img src="http://i.stack.imgur.com/iODCI.jpg" alt="My GridView class's Items property"></p>

<p>I have written the property as below:</p>

<pre><code>[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
{
}
</code></pre>

<p>Can anyone help me out?</p>
