title: Set default value to an image "Public Property"
body: <p>I try to set default value to an image <code>Public Property</code> of a <code>UserControl</code>. I tried to do that with a variable but I get an error <code>Cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class.</code></p>
  
  <pre><code>Private Image_ As Image = My.Resources.MyImage
  &lt;Category("Appearance")&gt; &lt;DisplayName("Image")&gt; &lt;DefaultValue(Image_)&gt; &lt;Description("...")&gt;
  Public Property Image As Image
      Get
          Return NestedControl.Image
      End Get
      Set(ByVal value As Image)
          NestedControl.Image = value
      End Set
  End Property
  </code></pre>
  
  <p>I also tried to set default value like this <code>&lt;DefaultValue(GetType(Image), "My.Resources.MyImage")&gt;</code> but when I do reset to <code>UserControl</code>'s property it turns to "None"!!!</p>
  
  <p>Any idea?</p>