     DisableEventsPanel();
                        this.tabDetails.IsSelected = true;
                        break;
                    case InspectTabMode.TestHowToFix:
                        tabControlInspect.Items.Add(tabHowToFix);
                        DisableEventsPanel();
                        this.tabHowToFix.IsSelected = true;
                        break;
                    case InspectTabMode.TestProperties:
                        tabControlInspect.Items.Add(tabHowToFix);
                        DisableEventsPanel();
                        this.tabDetails.IsSelected = true;
                        break;
                    case InspectTabMode.Events:
                        tabControlInspect.Items.Add(tabEvents);
                        EnableEventsPanel();
                        this.tabEvents.IsSelected = true;
                        break;
                    case InspectTabMode.EventsRecording:
                        tabControlInspect.Items.Add(tabEvents);
                        EnableEventsPanel();
                        this.tabDetails.IsSelected = true;
                        break;
                    case InspectTabMode.LoadedEvents:
                        EnableEventsPanel();
                        this.tabDetails.IsSelected = true;
                        break;
                }
            }
        }

        public static readonly RoutedCommand PropertySettingsAcceleratorCommand = new RoutedCommand();
        public static readonly RoutedCommand MoveFocusToPropertiesGridCommand = new RoutedCommand();
        public static readonly RoutedCommand MoveFocusToPropertiesSearchCommand = new RoutedCommand();
        public static readonly RoutedCommand MoveFocusToPatternsTreeCommand = new RoutedCommand();
        public static readonly RoutedCommand MoveFocusToEventsMessagesCommand = new RoutedCommand();

        /// <summary>
        /// Constructor
        /// </summary>
        public InspectTabsControl()
        {
            Initi