title: Is it possible to specify two different type param values for parent and child components in Blazor?
body: <p>Please refer the following code blocks. For that code blocks, I have tried to access the parent component values into child component, but it always return the null value in child component.</p>
  <pre><code>&lt;Parent TValue=&quot;TreeData&quot;&gt;
   &lt;Child TValue=&quot;TreeNode&lt;TreeData&gt;&quot;&gt;&lt;/Child&gt;
  &lt;/Parent&gt;
  
  @code {
      public class TreeData
      {
          public string Value { get; set; }
      }
      public class TreeNode&lt;TreeData&gt;
      {
          public int Count { get; set; }
      }
  }
  
  **Parent Component:**
  
  &lt;CascadingValue Value=&quot;@this&quot;&gt;
      @ChildContent
  &lt;/CascadingValue&gt;
  
  **Child Component:** 
  
  @code {
      [CascadingParameter]
      private Parent&lt;TValue&gt; ParentObj { get; set; }
      protected override async Task OnInitializedAsync()
      {
          await base.OnInitializedAsync();
          //Parent obj always returns the null value
          ParentObj?.UpdateChildProperties(&quot;UpdateData&quot;, this);
      }    
  }
  </code></pre>