public bool TryRefresh(Assembly entryPointAssembly, XamlPropertiesPane xamlPropertiesPane, WPFBrowserView webControl, Rectangle highlightElement)
        {
            int nbTreeViewElements;

            _xamlPropertiesPane       = xamlPropertiesPane;
            _webControl               = webControl;
            _rectangleUsedToHighlight = highlightElement;
            _hasBeenFullyExpanded     = false;

            var isSuccess = XamlInspectionHelper.TryInitializeTreeView(this.TreeViewForXamlInspection, entryPointAssembly, out nbTreeViewElements);

            if (isSuccess)
            {
                this.NumberTreeViewElement.Text = "Element count: " + nbTreeViewElements;
            }
            else
            {
                this.NumberTreeViewElement.Text = "";
            }
            return(isSuccess);
        }