public void SelectParentControl() { if ((_panel != null) && (_panel.Parent != null)) _selectionService.SetSelectedComponents(new object[] { _panel.Parent }, SelectionTypes.Primary); }