title: how to call child component method from parent component in blazor?
body: <p>i have two component.
  The first component includes list of model
  and the second component contains modal form
  I want to click on the model when inside the first component
  In the second component, open modal and edit the model
  how to call show function in child component from parent component</p>
  
  <pre><code>&lt;ChildComponent /&gt;
  &lt;button onClick="@ShowModal"&gt;show modal&lt;/button&gt;
  
  @code{
      ChildComponent child; 
  
      void ShowModal(){
          child.Show();
      }
  }
  </code></pre>
  
  <p>i'm used @using but 
  this code has error : </p>
  
  <blockquote>
    <p>the type or namespace name ChildComponent coud not be found</p>
  </blockquote>