title: Up Down Buttons of the NumericUpDown Control Won't Hide
body: <p>So I have a numeric up down control in place, and I want to make the up-down (increment and decrement) buttons hidden. So far I have set it up within the value changed event for testing purposes. Basically once the value becomes greater than 3 the buttons are supposed to become hidden. The code looks something like this:</p>
  
  <pre><code>    private void numericUpDown1_ValueChanged(object sender, EventArgs e)
      {
          if (numericUpDown1.Value &gt; 3)
          {
              //numericUpDown1.Controls[0].Visible = false;
              numericUpDown1.Controls[0].Hide();
              numericUpDown1.Refresh();
          }
      }
  </code></pre>
  
  <p>It works... Sort of. You see the buttons become disabled, as in I cannot click them any more but they are still clearly visible. It looks something like this:</p>
  
  <p><img src="https://i.stack.imgur.com/67imi.png" alt="Ignore the Textbox"></p>
  
  <p>The textbox is just part of another test where basically you take the value of the numericupdown control and subtract it from 10, the answer goes in the textbox.</p>
  
  <p>As you can see I have tried setting the visible property in the past and have even tried to force the entire control to redraw itself, but nothing seems to be working at this point. Any suggestions would be greatly appreciated. Thank you very much in advance.</p>