private void FolderTabs_Placement(object sender, RoutedEventArgs e) {
if (sender == TabbaTop) {
Grid.SetRow(this.tcMain, 3);
divNav.Visibility = Visibility.Hidden;
this.rTabbarTop.Height = new GridLength(25);
this.rTabbarBot.Height = new GridLength(0);
this.tcMain.TabStripPlacement = Dock.Top;
} else {
Grid.SetRow(this.tcMain, 7);
divNav.Visibility = Visibility.Visible;
this.rTabbarTop.Height = new GridLength(0);
this.rTabbarBot.Height = new GridLength(25);
this.tcMain.TabStripPlacement = Dock.Bottom;
}
}