FairyGUI.GComboBox.ShowDropdown C# (CSharp) Method

ShowDropdown() protected method

protected ShowDropdown ( ) : void
return void
        protected void ShowDropdown()
        {
            UpdateDropdownList();
            if (_list.selectionMode == ListSelectionMode.Single)
                _list.selectedIndex = -1;
            dropdown.width = this.width;

            this.root.TogglePopup(dropdown, this, _popupDirection == "up" ? (object)false : (_popupDirection == "auto" ? null : (object)true));
            if (dropdown.parent != null)
            {
                dropdown.displayObject.onRemovedFromStage.Add(__popupWinClosed);
                SetState(GButton.DOWN);
            }
        }