title: Xamarin Android, custom control and Visual Studio designer
body: <p>I have created a custom control in Xamarin using Visual Studio and C#. The Custom control works perfectly and the code is quite simple:</p>
  
  <pre><code>[DesignTimeVisible(true)]
  public class CustomTextView : TextView
  {
      public CustomTextView(Context context)
          :base(context)
      {
  
      }
  
      public CustomTextView(Context context, IAttributeSet attrs)
          :base(context,attrs)
      {
  
      }
  
      public CustomTextView(IntPtr javaReference, JniHandleOwnership transfer)
          :base(javaReference, transfer)
      {
  
      }
  
      public CustomTextView(Context context, IAttributeSet attrs, int defStyle)
          :base(context, attrs, defStyle)
      {
  
      }
  }
  </code></pre>
  
  <p>Problem is that in design time, xamarin designer render the control in the following way, so it becomes useless for me because I cannot understand how it will look at run-time.
  <img src="https://i.stack.imgur.com/zvyQu.png" alt="enter image description here"></p>
  
  <p>Is this a limitation of the Designer for Visual Studio or can I do something about it?</p>