title: PropertyGrid Not Updating List of String
body: <p>I'm having a little trouble with a <code>PropertyGrid</code>.</p>
  
  <p>I have set the selected object to a class containing various properties and 90% of them work correctly but for any where the property is a <code>List(Of String)</code> it doesn't appear to call the <code>Set</code> part of the property.</p>
  
  <p>The class I have is as follows (shortened version):</p>
  
  <pre><code>Public Class VideosProperties
      Public Property EpisodeColorOdd As Color
          Get
              Return Videos_EpisodeColorOdd
          End Get
          Set(value As Color)
              Videos_EpisodeColorOdd = value
          End Set
      End Property
  
      &lt;Editor("System.Windows.Forms.Design.StringCollectionEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
      "System.Drawing.Design.UITypeEditor,System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")&gt;
      Public Property Extensions As List(Of String)
          Get
              Return Videos_Extensions
          End Get
          Set(value As List(Of String))
              Videos_Extensions = value
          End Set
      End Property
  End Class
  </code></pre>
  
  <p>I have set the <code>SelectedObject</code> to be this class using the following code:</p>
  
  <pre><code>Dim _Properties As Object
  
  _Properties = New VideosProperties
  
  PropertyGrid1.SelectedObject = _Properties
  </code></pre>
  
  <p>I have Initialized the List using the following code:</p>
  
  <pre><code>Extensions = New List(Of String)
  </code></pre>
  
  <p>When I run my code, the <code>PropertyGrid</code> shows the <code>EpisodeColorOdd</code> property and this works correctly, but the Extensions property doesn't.</p>
  
  <p>When you edit the Extensions property using the <code>PropertyGrid</code>, it doesn't call the <code>Set(value as List(Of String))</code> part of the property.</p>
  
  <p>I've had a look around and can't seem to find a solution (I'm probably not looking hard enough).</p>
  
  <p>Can anyone help?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Plutonix - Your code doesn't work.  I have already copied and pasted into a new project and I get errors.<br>
  I get an error at</p>
  
  <pre><code>&lt;Editor("System.Windows.Forms...etc")&gt; 
  </code></pre>
  
  <p>telling me "Type 'Editor' is not defined", so I Imported "System.ComponentModel" and now get 
  an error saying "Overload resolution failed because no accessible 'New' accepts this number of arguments." at the same point.</p>
  
  <p>If I remove the that part it doesn't work correctly.</p>
  
  <p>I run the code, the form opens, I click on the Foods property and an Editor opens, I click Add and get the error "Constructor on type 'System.String' not found." which I've had before, 
  and I fixed using </p>
  
  <pre><code>&lt;Editor("System.Windows.Forms.Design.StringCollectionEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor,System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")&gt; 
  </code></pre>
  
  <p>instead of</p>
  
  <pre><code>&lt;Editor("System.Windows.Forms...etc")&gt;
  </code></pre>
  
  <p>Now though, when I click on the property, it brings up a different editor and doesn't actually access the Set part of the property. So, I'm back to square one.</p>