private void sidebar_AfterSelect(object sender, TreeViewEventArgs e) { ColumnTreeNode node = e.Node as ColumnTreeNode; if (node.SubColumn == null) { return; } ItemsColumn c = Packages.InstantiateColumn(node.SubColumn, this); tabBar.CurrentTab.ColumnView.NavigateTo(c.GetTrail()); tabBar.CurrentTab.ColumnView.Columns[0].Focus(); tabBar.CurrentTab.ColumnView.ScrollToLastColumn(); }
public void NavigateTo(ItemsColumn column) { NavigateTo(column.GetTrail()); }