/// <summary> /// Set focus to the previous focus item inside the popup group. /// </summary> public void SetPreviousFocusItem() { // Find the previous item in sequence bool matched = false; ViewBase view = ViewGroup.GetPreviousFocusItem(ViewPopupManager.FocusView, ref matched); // Rotate around to the last item if (view == null) { SetLastFocusItem(); } else { ViewPopupManager.FocusView = view; PerformNeedPaint(false); } }