title: Error when using Children.Add in Xamarin Forms
body: <p>Im having some problems with the Children.Add() function of a Stack Layout. There is an error in the code below which says " There is no argument that corresponds to the required formal parameter 'value' of 'SettersExtentions.Add(IList, Bindable Property, object)' ". The error is a curly red underline under all the .Add words.</p>
  
  <pre><code>public class LoginPage : ContentPage
  {
      public string email { get; set; }
      public string password { get; set; }
      Entry emailBox = new Entry();
      Entry passwordBox = new Entry();
      Button createAccount = new Button();
      Button forgotPassword = new Button();
      Layout layout = new StackLayout();
  
  
      public LoginPage()
      {
          Title = "Login";
          emailBox.Placeholder = "email";
          passwordBox.Placeholder = "password";
          passwordBox.IsPassword = true;
  
          createAccount.Text = "Create Account";
          createAccount.Font = Font.SystemFontOfSize(NamedSize.Large);
          createAccount.BorderWidth = 1;
          createAccount.HorizontalOptions = LayoutOptions.Center;
          createAccount.VerticalOptions = LayoutOptions.CenterAndExpand;
  
          forgotPassword.Text = "Forgot Password";
          forgotPassword.Font = Font.SystemFontOfSize(NamedSize.Large);
          forgotPassword.BorderWidth = 1;
          forgotPassword.HorizontalOptions = LayoutOptions.Center;
          forgotPassword.VerticalOptions = LayoutOptions.CenterAndExpand;
  
          layout.VerticalOptions = LayoutOptions.CenterAndExpand;
  
          layout.Children.Add(emailBox);
          layout.Children.Add(passwordBox);
          layout.Children.Add(createAccount);
          layout.Children.Add(forgotPassword);
  
          Content = layout;
  
      }
  
      public void Check(string email, string password, string cpassword)
      {
  
      }
  }
  </code></pre>