```
 public class QuickSearch : Widget
 {
    public TreeView UsingItemTemplate(Func<HelperResult> html)
    {
        return UsingItemTemplate(html.Invoke().ToHtmlString());
    }
 }

```

I want to return a value of the type TreeView which is another class in the system, but I am doing this in the class named QuickSearch. How I can do that?