title: Get Child Component binded values in Parent Component in Blazor
body: <p>Lets Say Child Component called cinput.cshtml is </p>
  
  <pre><code>&lt;input type="text" bind="@username"&gt;
  
  @functions{
  string username;
  }
  </code></pre>
  
  <p>and Parent Component called pform.cshtml</p>
  
  <pre><code>&lt;cinput&gt;&lt;/cinput&gt;
  &lt;input type="text" bind="@email"&gt;
  &lt;input type="button" onclick="@onsubmit"&gt;
  
  @functions{
  
  string email;
  
  public void onsubmit(){
     //Call api
  }
  }
  </code></pre>
  
  <p>so the question is how to get username value in parent component?</p>