title: User Control Property c#
body: <p>I want to create list property of <code>UserControl</code> to add and select item in design time. What is the best way to do this? here is relevant code:</p>
  
  <pre><code> public partial class UserControl1 : UserControl
  {
      List&lt;string&gt; _item = new List&lt;string&gt;();
  
     [Browsable(true)]
      public List&lt;string&gt; item
      {
          set
          {              
              _item = value;              
          }
          get
          {
              return _item;
          }
      }
  </code></pre>
  
  <p>I added items to List but I can't select it in design time. </p>
  
  <p><strong>Edit:</strong> I want to create a property of user control Like this:
  <a href="https://i.stack.imgur.com/NLh4B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NLh4B.png" alt="enter image description here"></a></p>