ComponentFactory.Krypton.Ribbon.ViewDrawRibbonGroupComboBox.GetFirstFocusItem C# (CSharp) Method

GetFirstFocusItem() public method

Gets the first focus item from the container.
public GetFirstFocusItem ( ) : ViewBase
return ViewBase
        public ViewBase GetFirstFocusItem()
        {
            if ((_ribbonComboBox.Visible) &&
                (_ribbonComboBox.LastComboBox != null) &&
                (_ribbonComboBox.LastComboBox.ComboBox != null) &&
                (_ribbonComboBox.LastComboBox.ComboBox.CanSelect))
                return this;
            else
                return null;
        }