public void SetLastFocusItem() { ViewBase newView = _ribbon.GroupsArea.ViewGroups.GetLastFocusItem(); // Make the item the new focus for the popup if (newView != null) { ViewRibbonManager.FocusView = newView; PerformNeedPaint(false); } }