protected override bool GetHitTest(System.Drawing.Point point) { ISelectionService selection = (ISelectionService)this.GetService(typeof(ISelectionService)); if (selection != null && selection.SelectionCount == 1 && selection.GetComponentSelected(this.Component)) { HorizontalTabs tabs = this.Component as HorizontalTabs; if (tabs != null) { point = tabs.PointToClient(point); return(tabs.GetTabOnPoint(point) != null); } } return(base.GetHitTest(point)); }