title: How to make a button hidden in C# Xamarin IDE iOS
body: <p>How do you make a button hidden in C# in the Xamarin IDE in iOS? I know this may be an easy question for some people but I have tried multiple ways and I can't get it to work probably.  </p>
  
  <p>I've used the code:</p>
  
  <pre><code>button1.Hidden = True;
  button2.Hidden = True;
  button3.Hidden = True;
  </code></pre>
  
  <p>and I've placed this code in the <code>viewDidLoad</code> section below</p>
  
  <pre><code>public override void ViewDidLoad ()
  {
      base.ViewDidLoad ();
      button1.Hidden = True;
      button2.Hidden = True;
      button3.Hidden = True;
      // Perform any additional setup after loading the view, typically from a nib. 
  }
  </code></pre>
  
  <p>I've tried using <code>button1.Visible = false;</code> but that doesn't work either. I've tried placing it in different places in my view controller file and I still can't get it to work.  I've made sure that my buttons are corresponding with the names I am using in my file by naming them in the xamarin IDE.  What I'm trying to do is make my buttons disappear and reappear at the click of a button but I can't even get them to initially disappear. </p>