private void InitializeComponent() { AvaloniaXamlLoader.Load(this); this.RegisterControl(out treeView, nameof(treeView)); this.RegisterControl(out filesTab, nameof(filesTab)); this.RegisterControl(out findInFilesTab, nameof(findInFilesTab)); this.RegisterControl(out filesTree, nameof(filesTree)); this.RegisterControl(out centralTabControl, nameof(centralTabControl)); this.RegisterControl(out breadCrumb, nameof(breadCrumb)); this.RegisterControl(out leftPaneTabControl, nameof(leftPaneTabControl)); this.RegisterControl(out searchLogTab, nameof(searchLogTab)); this.RegisterControl(out SplitterPanel tabs, nameof(tabs)); documentWell = tabs.SecondChild as DocumentWell; searchLogControl = searchLogTab.Content as SearchAndResultsControl; findInFilesControl = findInFilesTab.Content as SearchAndResultsControl; }