public void SetSelected() { this.Background = new SolidColorBrush(Color.FromRgb(0, 50, 255)); this.tabTitle.Foreground = new SolidColorBrush(Colors.White); }