title: Showing public fields of a UserControl in designer
body: <p>I am trying to add some fields to a custom <code>UserControl</code> that I am making. I have some fields that I like them to be visible in the <code>Properties</code> window of <code>Visual Studio</code>. I tried to use the flags below but I dont see the field in the designer, even after a compile.</p>
  
  <p>How should I do this correctly?</p>
  
  <pre><code>public partial class TosChartControl: UserControl
  {
  
      #region PUBLIC FIELDS
  
      [Browsable(true)] //Added this but still does not show up
      [Category("Data")]
      [DefaultValue(0)]
      [Description("ID of the Sensor Node")]
      public int NodeId { get; set; }
  
      #endregion
  
      public TosChartControl()
      {
          InitializeComponent();
      }
  }
  </code></pre>
  
  <p>I did clean and rebuild the soloution and projects but I cant still see this field in Properties window. Even restarting the Visualstudio didnt help.</p>