public GetPreviousFocusItem ( ViewBase current, bool &matched ) : ViewBase | ||
current | ViewBase | The view that is currently focused. |
matched | bool | Has the current focus item been matched yet. |
Результат | ViewBase |
/// <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); } }