ComponentFactory.Krypton.Ribbon.VisualPopupMinimized.SetLastFocusItem C# (CSharp) Method

SetLastFocusItem() public method

Set focus to the last focus item inside the popup group.
public SetLastFocusItem ( ) : void
return void
        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);
            }
        }