title: c# PropertyGrid Edit array with enum keys
body: <p>I have a property which is </p>
  
  <pre><code>int [] MyProperty {get;set;}
  </code></pre>
  
  <p>I have a list of enums</p>
  
  <pre><code>enum MyEnums
  {
      ENUM1=0
      ENUM2=1
      ENUM3=2
  }
  </code></pre>
  
  <p>The property MUST be an int array due to tools that run on the code serializing the property out to a file.
  I'd like my property grid to allow me to edit MyProperty displaying the enum names as the keys rather than 0,1 and 2. The array must be the same length as the enum list so no members can be added or removed. I imagine I need a custom editor to achieve this? Can anyone make any suggestions of the best way to achieve this?</p>
  
  <p>Many thanks</p>